@@ -761,6 +761,7 @@ inlineList = [ whitespace
761761 , link
762762 , code
763763 , codeTag
764+ , mathTag
764765 , inlineLiteralTag
765766 , str
766767 , symbol
@@ -882,6 +883,10 @@ code = try $ do
882883codeTag :: PandocMonad m => MuseParser m (F Inlines)
883884codeTag = return . uncurry B.codeWith <$> htmlElement "code"
884885
886+-- <math> tag is an Emacs Muse extension enabled by (require 'muse-latex2png)
887+mathTag :: PandocMonad m => MuseParser m (F Inlines)
888+mathTag = return . B.math . snd <$> htmlElement "math"
889+
885890inlineLiteralTag :: PandocMonad m => MuseParser m (F Inlines)
886891inlineLiteralTag =
887892 (return . rawInline) <$> htmlElement "literal"