Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to use the extension as man page author (render while typing the man page) #5

Open
fmherschel opened this issue Aug 23, 2022 · 1 comment

Comments

@fmherschel
Copy link

Dear all,
maybe a thumb question. I like to use the extension language-roff in atom. I am man page author and would like e.g. to have the man page sources at the left side and the roff-rendered page at the right side.
After installing language-roff I get a new entry in the menue "Packages" named "roff". But this does only allow to open a man page (which does only system installed man pages) and to clear the cache.
How could I render my man page I am currently working on?
Sorry for this maybe-beginner question.

@Alhadis
Copy link
Owner

Alhadis commented Aug 31, 2022

👋 Hey mate,

I had a crack at implementing this feature a few years ago, but gave up after I saw how much code was needed to sync an editor with a live display (à la Atom's Markdown previewer). The logic to do so is implemented by markdown-preview package, albeit internally (there's no public API that other packages can leverage to implement live previews in other formats).

I'm not sure if it's even worth revisiting at this point, as GitHub is retiring the Atom project on December 15th. Moreover, working with Atom's APIs is deadset painful, and I loathe the thought of maintaining yet another library to implement something that should already be part of Atom's core. But if you pressure me into finishing it, I might consider doing so. 😉

(Hopefully this weird rambling reply makes sense…)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants