public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Replace Str with HTML in Lua Filter
@ 2019-08-09 19:28 Ken Dow
       [not found] ` <abe5ae45-2ad8-419b-a282-5b5e1b4fcda1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Dow @ 2019-08-09 19:28 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

My DOCX source document, which is being converted to HTML, uses some Google 
Material fonts. What shows up in the AST are values like

Str "\8211"

I'd like to find and replace those to produce something like the following 
HTML:

<i class="material-icons">face</i>

Is that possible and if so, how? 

-- 
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/abe5ae45-2ad8-419b-a282-5b5e1b4fcda1%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2412 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-29 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 19:28 Replace Str with HTML in Lua Filter Ken Dow
     [not found] ` <abe5ae45-2ad8-419b-a282-5b5e1b4fcda1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-10 16:02   ` Albert Krewinkel
     [not found]     ` <8736i9qa95.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2019-08-29 15:06       ` Ken Dow
     [not found]         ` <87a12669-ed81-4ce4-aa8e-eb5d3d64bf3d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-29 17:50           ` John MacFarlane
2019-08-29 17:51           ` John MacFarlane
     [not found]             ` <m2muframhm.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-08-29 20:24               ` Ken Dow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).