You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to adapt Earmark.Transform.transform to accept not only the types emitted by Earmark.to_ast but also tuples of the form {binary|:comment, list, list, %{custom:, _}}
This has two benefits
It would still allow to extend the ast, e.g. by adding a meta key to the map (e.g. to solve the html tag problem The _HTML Problem_ in the AST #289)
It allows filters to pass in a filtered / modified ast without an unnecessary and potentially costy cleanup run.
The text was updated successfully, but these errors were encountered:
The idea is to adapt
Earmark.Transform.transform
to accept not only the types emitted byEarmark.to_ast
but also tuples of the form{binary|:comment, list, list, %{custom:, _}}
This has two benefits
meta
key to the map (e.g. to solve the html tag problem The _HTML Problem_ in the AST #289)The text was updated successfully, but these errors were encountered: