earmark icon indicating copy to clipboard operation
earmark copied to clipboard

Markdown parser for Elixir

Results 33 earmark issues
Sort by recently updated
recently updated
newest added

Found while upgrading our app: ``` ==> earmark Compiling 3 files (.erl) Compiling 61 files (.ex) warning: ~R/.../ is deprecated, use ~r/.../ instead lib/earmark_parser/line_scanner.ex:87: Earmark.Parser.LineScanner._type_of/3 ```

The pure link converter does not seem to autolink URLs without a prefixed protocol. I would expect the following four examples to all result in a link: ``` visit https://github.com...

```elixir iex(10)> Earmark.as_ast " anything that follows the comment is lost " {:ok, [comment: [" Replace with better image "]], []} iex(11)> Earmark.as_ast " this is not lost" {:ok, [...

enhancement
Backwards Incompatible
Better GFM compliance
EarmarkParserIssue

#481 I consolidated all the different option types under custom type options and included any specs that included that new type #482 These are all the other type specs. #484...

I ran "mix format" and it changes the formatting of 109 files. so maybe better to start that change from the source :)

I see Earmark.Parser.HtmlRenderer in documentation but I can't find it. There is a `Earmark.Parser.Ast.Renderer.HtmlRenderer`, however. I was wondering if I could get a little context. Thanks!

Would it be possible to have `Earmark.as_html("##Foo")` generate `Foo` so you can navigate the document to section headings (e.g. /document.html#foo"). Pandex (Pandoc) currently does this.

discussion

I would like to provide a custom HTML renderer for certain markdown element types. For example, I would like to render links in some custom way. I've searched through the...

enhancement
AST
HTML

high hanging fruit
nuissance