More and more documentation is being formatted using various flavours of Markdown. Is there a tool that will parse Markdown documents into HTML that I can tell Konqueror to use to display them?
Leslie -- Operating System: Linux Distribution: openSUSE Leap 15.3 x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.0.10 tde-config: 1.0
Hello Leslie,
Adding Markdown support to Konqueror is on my TODO list.
With a simple search I was able to find the following markdown-to-html converter: https://github.com/pschlump/markdown-cli
I have not tested it, but you can use it to preprocess markdown files if you want to have them as HTML. Then you can view these files with Konqueror.
-- Philippe Mavridis
Anno domini 06:32:45 Tue, 12 Oct 2021 +0000 (UTC) Mavridis Philippe scripsit:
Hello Leslie,
Adding Markdown support to Konqueror is on my TODO list.
With a simple search I was able to find the following markdown-to-html converter: https://github.com/pschlump/markdown-cli
I have not tested it, but you can use it to preprocess markdown files if you want to have them as HTML. Then you can view these files with Konqueror.
-- Philippe Mavridis
There is also "grip" https://github.com/joeyespo/grip
Nik
On 2021-10-12 01:32:45 Mavridis Philippe wrote:
Hello Leslie,
Adding Markdown support to Konqueror is on my TODO list.
With a simple search I was able to find the following markdown-to-html converter: https://github.com/pschlump/markdown-cli
I have not tested it, but you can use it to preprocess markdown files if you want to have them as HTML. Then you can view these files with Konqueror.
-- Philippe Mavridis
I can't see how that would work with e.g. a README.md file in a tgz archive.
Leslie -- Operating System: Linux Distribution: openSUSE Leap 15.3 x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.0.10 tde-config: 1.0
Am Dienstag, 12. Oktober 2021 schrieb J Leslie Turriff:
More and more documentation is being formatted using various flavours of Markdown. Is there a tool that will parse Markdown documents into HTML that I can tell Konqueror to use to display them?
Debian package markdown does it for me with mcview (Midnight Commander).
It'd be easy to pipe markdown's output to konqueror if konqueror would take input from a pipe… oh, but it doesn't. So this road goes over a temporary file with markdown's output.
Maybe there's some konqueror native way to get other input than from an URL I don't know of.
m2c
Stefan
It'd be easy to pipe markdown's output to konqueror if konqueror would take input from a pipe… oh, but it doesn't. So this road goes over a temporary file with markdown's output.
Maybe there's some konqueror native way to get other input than from an URL I don't know of.
I think that Konqueror supports the data: scheme. You could theoretically try to use this to display arbitrary data (you would probably have to appropriately encode it first, but you just pass a data: URI with no need of any sort of temp file).
-- Philippe Mavridis