I attached two filters. If you run: pandoc -t latex -L highlight-red.lua -L in-red.lua <<< 'Some *==text in red==*!' You get: Some \colorbox{lightred}{{text in red}}! Le Sunday 26 March 2023 à 02:42:54AM, Pa Sc a écrit : > Do you mean the two filters that are in the original post? Or what filter do > you mean? > > Bastien DUMONT schrieb am Sonntag, 26. März 2023 um 00:08:53 UTC+1: > > Please share the two lua filters you use to parse `==` as a syntax for > highlighting and to print in red an emphasized span produced by this > filter. We can't figure out what is wrong without them. > > Le Saturday 25 March 2023 à 03:44:24PM, Pa Sc a écrit : > > Yeah, I have a MWE here: [1]https://tex.stackexchange.com/questions/ > 680766/ > > help-with-lua-filter-for-markdown-to-latex-with-pandoc > > > > As for the command: > > ``` > > mkdir -p /home/ME/Documents/Obsidian/Output/{{title}} > > pandoc -r markdown-auto_identifiers -w latex {{file_path:absolute}} -o / > home/ME > > /Documents/Obsidian/Output/{{title}}/{{title}}.tex --template="/home/ME/ > > Documents/LaTeX/My Templates/Proposal/default-proposal.tex" --lua-filter= > /home/ > > ME/Documents/LaTeX/Filters/highlight.lua --lua-filter=/home/ME/Documents/ > LaTeX/ > > Filters/highlight-period.lua --lua-filter=/home/ME/Documents/LaTeX/ > Filters/ > > Span.lua --lua-filter=/home/ME/Documents/LaTeX/Filters/highlight-red.lua > > --lua-filter=/home/ME/Documents/LaTeX/Filters/Span-red.lua > > ``` > > > > -- > > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2][2]https://groups.google.com/ > d/msgid/ > > pandoc-discuss/6a7dabf5-1fda-4825-9d21-193b63363937n%[3] > 40googlegroups.com. > > > > References: > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] [4]https://groups.google.com/d/msgid/pandoc-discuss/ > 6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.com?utm_medium=email& > utm_source=footer > > > -- > 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 [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [6]https://groups.google.com/d/msgid/ > pandoc-discuss/aded6fcf-0720-4fea-a873-af2cacfb8281n%40googlegroups.com. > > References: > > [1] https://tex.stackexchange.com/questions/680766/ > [2] https://groups.google.com/d/msgid/ > [3] http://40googlegroups.com/ > [4] https://groups.google.com/d/msgid/pandoc-discuss/6a7dabf5-1fda-4825-9d21-193b63363937n%40googlegroups.com?utm_medium=email&utm_source=footer > [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [6] https://groups.google.com/d/msgid/pandoc-discuss/aded6fcf-0720-4fea-a873-af2cacfb8281n%40googlegroups.com?utm_medium=email&utm_source=footer -- 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/ZCAWF2ex/yTJBEuH%40localhost.