and to answer this question: No not right now, of course the meta part of the AST could be used for that but I would hate to load this burden on ex_doc so maybe an Option.
Much work, no time, alas
and to answer this question: No not right now, of course the meta part of the AST could be used for that but I would hate to load this burden on ex_doc so maybe an Option.
Much work, no time, alas
Thanks for the advice. Stealing the above cited Livebook code and retrofiting it onto Floki AST shall satisfy my immediate need. I asked to see if there is any grand plan in place already.
Nope, sorry
Footnotes fixed and upgraded(#26)
Footnotes are now a superset of GFM Footnotes. This implies some changes
[^footnote_id]) must come at the end of your document (GFM) - Footnotes that are not referenced are not rendered anymore (GFM)N.B.
Footnotes are not downwards compatible with 1.4.18 and therefore no accompaning Earmark Release will be done (ex_doc does not use footnotes)
hopefully 1.5.0 will come out soon with breaking list changes too
I appologize to all Earmark users I forgot that the incompatible release of EarmarkParser will cause problems on Earmark
please upgrade to 1.4.20 which assures the usage of the compatible EarmarkParser version 1.4.18
Erratum on EarmarkParser Release Note
Fix stop condition on closing HTML in scanners lookup algo
Kudos to José Valim
Footnotes fixed and upgraded(#26)
Footnotes are now a superset of GFM Footnotes. This implies some changes
[^footnote_id]) must come at the end of your document (GFM)(although the original Synapsis deserves to be conserved)
This drops support for Elixir 1.10 and incorporates some small changes for the new admonition support for ex_doc which have been gracefully provided by @josevalim
Preserve newlines inside HTML code
Kudos to José Valim
Do not remove ial on blockquote inside triple quoted
Kudos to José Valim
Removed support for Elixir 1.10 (following ex_doc’s lead)
# Earmark 1.4.21 release delayed
This introduces regressions concerning nested lists and sophisticated edge cases, but introduces the following features as well as all features of EarmarkParser 1.4.19 & 1.4.20
The will be regressions fixed in 1.5.0
Removing support for Elixir < 1.12
Bad link corrected
Kudos to Udo Kramer
Nice addition to Earmark.Transform.transform to allow modification of the content of an AST node
Kudos to Phillipp Tessenow
I just released a hotfix for missing paragraph context after indented code blocks Alternative header syntax after code is "invalid" · Issue #98 · RobertDober/earmark_parser · GitHub
All three links are the same, sorry
I just released
and
EarmarkParser 1.4.22 fixes the list regressions (as 1.5 will just not be ready soon)
and thus Earmark can be used with ex_doc again (c.f. Hopefully this shall take care of the issue reported here by RobertDober · Pull Request #29 · surface-ui/surface_catalogue · GitHub)
For completeness the somehow redundant RELEASE NOTES
Fixes all List Regressions introduced in 1.4.19
GFM support for lists remain limited (spaced and tight lists are not 100% compliant) but is better than in 1.4.18
Takes advantage of the fixed regressions in EarmarkParser release 1.4.22 and therefore makes all
features of the latest EarmarkParser release available
I just fixed two other regressions in lists in this release
Two more list regressions fixed
multi line inline code was ignored in the body parts of lists
spaced lists with inline code in their bodies (single and multiline) were rendered tightly (no surrounding <p>...</p>
oh and a lot of dead code elimination and a 98% code coverage
A small bug concerning footnotes is fixed in:
Single worded footnote definitions where shadowed by ID Definitions, the tiebreak was resolved in favor of Footnotes as ID Definitions do not need, and might as a matter of fact almost never, to start with a ^
Related Issue
Unused import warning removed
The corresponding Earmark version 1.4.23 was released too
A release to integrate the fix for long lines inside code fences
Two PRs to assure lookahead scanning is applied on the top level, where needed most
and corresponding performance test
Kudos to jonatanklosko
And the according Earmark release
I just released
Also allow change of mapper function for mapping a subtree in map_ast
Examples for this can be found
here(:replace)
and
here(change mapper function)
N.B. No changes in the parser only enhancements for AST Transformation (hence no new release of EarmarkParser)
I just released
this can hurt you in some special cases if you use the global Application config with :earmark which you should not do but I considered it nevertheless a bug as pointed out correctly in the ticket: Config — Elixir v1.13.4.
No change on EarmarkParser
I just released
Nice addition of sub and sup elements
Needs to be enabled with the option sub_sup: true renders ~x~ inside <sub> and ^x^ inside <sup>
Kudos to manuel-rubio
Optimisation in the inline renderer
Removal of compiler warnings
and also
which allows the usage of the sub_sup: true option from EarmarkParser v1.4.27
Thanks! I’m integrating this version with Lambdapad and it’s working fine ![]()