Sample Header Ad - 728x90

Pandoc and Abbreviations

2 votes
1 answer
291 views
I'm trying to generate an ePub file with abbreviations. Here's an example: input.md:
---
title: Test
language: en
---

# Test

HTML is maintained by W3C.
and abbr.md:
*[HTML]: Hyper Text Markup Language
*[W3C]:  World Wide Web Consortium
and get-epub.sh:
#!/bin/bash
pandoc -f markdown+abbreviations -t epub\
--abbreviations="abbr.md"\
"input.md" -o "output.epub";
I'm expecting to see something like this in the output.epub file:

HTML is maintained by W3C.

while the actual output is:

HTML is maintained by W3C.

Did I miss something here?
Asked by Anas R. (161 rep)
Feb 1, 2021, 01:10 PM
Last activity: Feb 2, 2021, 02:45 PM