A makrdown previewer for your digital garden.
neovim btw.
At the moment, this is a manual process. I may make a complementary AUR package in the future.
- install
webkit2gtkwith your package manager - have go installed
- configure the path so binary is recognized (in
.bashrcor similar)
export GOPATH=$HOME/go # you may change this path
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin{
'andyp1xe1/eden.nvim',
build = "make",
config = function()
require('eden').setup()
end
}use {
'andyp1xe1/eden.nvim',
run = "make",
config = function()
require 'eden'.setup()
end
}TODO You're smart, you can figure it out :3
:EdenStart and :EdenEnd
- webview with remote updates
- golang neovim client and handlers
- goldmark as parser (and lots of extensions)
- wiki links (goldmak extendsion)
- live scroll
- live html updating
- css styling
- yaml frontmatter support (title and tags)
- two way sync (e.g. navigating wikilinks on the preview opens note in nvim)
- access to offline media (images, etc) (works, but handles paths unsafely)
- mermaid, plantuml and graphviz graphs via kroki servivce + ast transformer
- latex support (katex? some solution so the rendering is fast while typing)
- polish css
- obsidian callouts (via goldmark extension/ast transformer)
- lua configuration options (custom styling and behavior) + external css support
- completely factor out / abstract away rendering in a goldmark based module (so it is easier to swap out the renderer for a native UI implementation)
- obsidian like graph mode using force-graph in case of web rendering, some other way for future native rendering