The markdown preview feature needs to install one of these packages(compiler):
markedjs: a markdown compiler “built for speed”
pandoc: the universal markup transpiler
markdown: there are various flavors of this compiler. This module will look for these two:
multimarkdown: a compiler for a language that is a superset of Markdown, with additional output formats and features.
Can’t it been integrated with Doom Emacs itself? Just need to add
.doom.d/init.el is very simple.
SPC m p, it opened an html page in browser. Can’t it preview in Doom Emacs(a separated window) itself?
If you want to preview markdown, you need a markdown compiler. There is no markdown compiler written in Elisp, so no, it cannot be integrated into Doom Emacs. You could, however, install a markdown viewer plugin in your browser, like Markdown Viewer – Get this Extension for 🦊 Firefox (en-US), to get low-effort markdown previews.
Thank you very much for your reply!
There is no markdown compiler written in Elisp
This is the reason. Everything easy to use with Doom Emacs. Searching files or words don’t need to install third party library. So I think if markdown preview can easily use will be more awesome.
Thank you for your suggestion about the browser plugin. It looks good to use.
@room and if you prefer to stay on the terminal, there are also Markdown compilers that render on the CLI, example glow
Thank you for sharing the TUI.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.