blackfriday
blackfriday copied to clipboard
Blackfriday: a markdown processor for Go
If you search for "markdown" on godoc.org, the first item that comes up is "github.com/russross/blackfriday" with 2160 imports and 3780 stars ATM. If you click on it, you're taken to...
Say, I have a text and in it there's "img" How can I preprocess it such that I could replace its attributes, for instance, url? It could be anything else,...
Ref: https://github.com/gohugoio/hugo/issues/6040 --- Hello, I discovered this issue recently [from this comment in the Hugo Discourse forum][1]. The issue is that for a Markdown snippet: ```` - list item 1...
Hey. I'm back on my quest to add some capabilities to Blackfriday. Currently I'd love create a renderer that would extend the base renderer (or another custom renderer) to add...
Considering this example: ```markdown This page offers a brief overview of what it's like to use Markdown. The [syntax page] [s] provides complete, detailed documentation for every feature, but Markdown...
If you make a footnote, in the body of the footnote only the text on the same line is considered. If you force a manual wrap of the text, long...
It would be great to add the possibility to add anchors to whatever element we want. Example list element: `- {element with anchor}` Output: `https://www.example.com/#element` See [this CommonMark dicsussion](https://talk.commonmark.org/t/anchors-in-markdown/247)
Is it possible to support markdown for the HTML5 abbr (abbreviation) tag e.g.: ``` HTML is cool. *[HTML]: Hyper Text Markup Language ``` which outputs ```html HTML is cool. ```
I am working on a Hugo project that uses blackfriday internally to render its content. This is the nested list that I am using: ``` ## Project Setup and Run...
The second quotation mark in `'[link](#)'` is sometimes rendered incorrectly as an open quote, instead of as a close quote. This does not happen if the second quotation mark is...