Skip to content
kd
31 Mar 2022
Back to blog

Pandoc lua filter for alerts

1 min read (101 words)

This is the example output of the markdown containing alert divs in pandoc. The unicode icons are inserted into the HTML using a pandoc lua filter.

❓ This is a warning.

❗ This is a error.

ℹ This is a info.

✓ This is a success.

🔎 This is a hint.

🚧 This is a todo.

💡 This is a tip.

📝 This is a note.

🥋 This is a exercise.

Quarto supports additional callouts.


Citation

@online{krishnamurthy2022pandocluafilterforalerts,
  author = {Dheepak Krishnamurthy},
  title = {Pandoc lua filter for alerts},
  year = {2022},
  date = {2022-03-31},
  url = {https://kdheepak.com/blog/pandoc-lua-filter-for-alerts/},
  langid = {en},
}

For attribution, please cite this work as:

Dheepak Krishnamurthy, "Pandoc lua filter for alerts", March 31, 2022 https://kdheepak.com/blog/pandoc-lua-filter-for-alerts/


Quickstart guide to using a terminal
Compiling firmware for the Moonlander keyboard with QMK