I'm trying to write a filter (in panflute) to convert ruby characters from HTML to ConTeXt. Input HTML:

This is an example: レイ

After conversion (what I want my output to look like): This is an example: \ruby{例}{レイ} What's a good way to approach this kind of conversion? I don't know how to target the ruby tags. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2e8d8fde-b107-41d3-ad59-bc249f8f0ae8%40googlegroups.com.