Skip to content

Commit

Permalink
Amethyst: @parag should have a special output with TXT
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 23, 2017
1 parent 4d3cb39 commit 8088198
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doomsday/tools/amethyst/lib/amestd.ame
Expand Up @@ -37,7 +37,14 @@ $ No space for the first word.
@macro{glue}{ @single{@arg} }

$ Paragraph heading.
@macro{parag}{ @strong{@arg} }
@macro{parag}{
@ifdef{TXT}{
__ @glue{@arg} @glue{__}
}
@else{
@strong{@arg}
}
}

$ Date.
@macro{date}{ @apply{@D}{yyyy-MM-dd} }
Expand Down

0 comments on commit 8088198

Please sign in to comment.