{"repo":"abhinav/goldmark-wikilink","free":true,"listed":false,"github":"https://github.com/abhinav/goldmark-wikilink","clone":"git clone https://github.com/abhinav/goldmark-wikilink.git","description":"An extension for goldmark Markdown parser adding support for parsing and rendering wikilinks.","language":"Go","stars":34,"topics":["golang","markdown","obsidian"],"license":"BSD-3-Clause","category":"productivity","readme_excerpt":"goldmark-wikilink goldmark-wikilink is an extension for the [goldmark] Markdown parser that supports parsing [[...]] -style wiki links and ![[...]] -style embedded wiki links. [goldmark]: http://github.com/yuin/goldmark Demo : A web-based demonstration of the extension is available at . Installation Usage To use goldmark-wikilink, import the wikilink package. Then include the wikilink.Extender in the list of extensions that you build your [ goldmark.Markdown ] with. [ goldmark.Markdown ]: https://pkg.go.dev/github.com/yuin/goldmark#Markdown Link resolution By default, wikilinks will be converted to URLs based on the page name, unless they already have an extension. [[Foo]] = \"Foo.html\" [[Foo bar]] = \"Foo bar.html\" [[Foo.pdf]] = \"Foo.pdf\" [[Foo.png]] = \"Foo.png\" You can change this by supplying a custom [ wikilink.Resolver ] to your wikilink.Extender when you install it. [ wikilink.Resolver ]: https://pkg.go.dev/go.abhg.dev/goldmark/wikilink#Resolver Embedding images Use the embedded link form ( ![[...]] ) to add images to a document. ![[foo.png]] Add alt text to images with the ![[... ...]] form: ![[foo.png alt text]]","default_branch":null,"files":null,"tree":[],"storefront":"/r/abhinav","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/abhinav/goldmark-wikilink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}