CDSoft / pp

PP - Generic preprocessor (with pandoc in mind) - macros, literate programming, diagrams, scripts...
http://cdelord.fr/pp
GNU General Public License v3.0
252 stars 21 forks source link

Question !def #28

Closed wlemkows closed 7 years ago

wlemkows commented 7 years ago

I am using pp to process md files. In my markdown I am using multiple !def one under another like that: !def{X}{Y}{Z} !def{A}{B}{C} ... ...

After pp processing this file, in place of line with !def I receive multiple empty lines. Is it intended? How to prevent that?

CDSoft commented 7 years ago

The end of line that follows a macro is not part of the macro and is kept in the output. To prevent this you can use:

wlemkows commented 7 years ago

That exactly what I need, thanks .