Skip to content

Instantly share code, notes, and snippets.

View bakaburg1's full-sized avatar

Angelo D'Ambrosio bakaburg1

  • European Centre for Disease Prevention and Control
  • Stockholm, Sweden
  • X @Bakaburg1
View GitHub Profile
@zuphilip
zuphilip / move-image-caption.lua
Last active February 28, 2022 13:45
Pandoc filter for moving image caption [CC0]
-- If the image caption is a separate paragraph below the
-- image, then this script will move it into the curly braces in
-- Markdown and make sure it is not redundantly present.
-- For example:
--
-- ![](image1.png)
-- ==> ![Abb. 1: title](image1.png)
-- Abb. 1: title