Yes, Obsidian can export to PDF, I confused that, but I assumed that the process would be the same, but I just checked, and now I'm not sure how Obsidian exports to PDF.

How would I create/implement such a filter to convert this?
Thanks :)

On Thursday, December 9, 2021 at 2:55:34 p.m. UTC+1 Joseph wrote:
This is the first time I've encountered [this syntax][1] and it is not natively supported by pandoc. Or am I wrong and you are saying pandoc handles it when using the latex/PDF writer? (Or, are you saying Obsidian can export to PDF, but not Word?)

I see there's been some discussion on the [CommonMark forum][2], but it doesn't look like you'd find an immediate solution.

Using a filter or hacking something that converts `==foo==` to [foo]{.highlight} that is properly rendered in Word might be options.

[1]: https://www.markdownguide.org/extended-syntax/#highlight
[2]: https://talk.commonmark.org/t/highlighting-text-with-the-mark-element/840

On 21-12-09 08:29, Paul wrote:
> I use a lot of highlighting in my markdown editor Obsidian, but I was wondering if there's a way to have that highlighting show up in the Word or Libreoffice Writer files?
>
> Bold and italics work fine, as far as I can tell, and when converting to a pdf the highlighting transfers great. I gather, however, that the ==highlighting== is not standard in all markdown so is that the issue?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/36962459-5abc-4422-bb88-cb261d2b7862n%40googlegroups.com.