I'd like to add a new custom variable, markdown-marginalize-header
, which will cause opening atx-style headers to be rendered into the left margin of the window. Together with a font face on headers, this creates a nice clean visual style where you can see the header levels without the header syntax marks cluttering up the text.
You can see it partly working, and partly broken, here:
I would love any help or advice on how to make this work. I've never worked with window margins before, and I don't think I understand the re-parse and re-display cycle, so I'm not sure where the change should go.
The emacs documentation on rendering into the display margins is at https://www.gnu.org/software/emacs/manual/html_node/elisp/Display-Margins.html
My work on this is at: https://github.com/algal/markdown-mode/tree/feature/marginal-headers
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4