Open TristanCacqueray opened 6 months ago
I'm sure there is a better way to filter the pandoc ast, but that fixes my issue.
Sure, thanks, that's much better!
@TristanCacqueray Have you tested it to work? Because it is not working for me:
I remember testing the change to heist-extra, but looking at the code it does not seem to make sense (the catchall is already removing unmatched inlines). First of all, the function comes from commonmark-wikilink
, and using query
does not seem to be enough as it descends the Note node even when it is replaced with mempty. So I think we still need to somehow filter that node from the tree.
@srid sorry about that, now using commonmark-wikilink.url = "github:TristanCacqueray/commonmark-wikilink/plainify-without-notes";
seems to work for the adding-images description.
Something's still off, because the "Paste Image" part repeats at the end.
@TristanCacqueray It would be good to merge this, after that issue above (https://github.com/srid/emanote/pull/529#issuecomment-2018733384) is resolved.
@srid I agree, unfortunately I don't have much time to work on this at the moment.
This change remove any footnotes from the og:description header.