m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

escaping backticks (`)


From: Pierre Lindenbaum
Subject: escaping backticks (`)
Date: Thu, 09 Apr 2015 13:08:54 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

cross-posted on SO: http://stackoverflow.com/questions/29522699


A simple/naive m4 question, but I cannot find the correct answer.
I'd like to print a markdown header starting/ending a code section:

```
echo Hello
```

How do I create a GNU M4 macro containing the 3 backticks ? something like

define(`md_code',````')
md_code
echo Hello
md_code


Thank you,
P.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]