PageRenderTime 32ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/test/macro/ok/syntax.txt

http://txt2tags.googlecode.com/
Plain Text | 46 lines | 37 code | 9 blank | 0 comment | 0 complexity | 5e09241e31f5d8dc8c8d6bbd9e4da44a MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, WTFPL
  1. BODYINIT
  2. Syntax: Macro without formatting string
  3. Date : @DATE@ - @DATE@
  4. Mtime : @MTIME@ - @MTIME@
  5. Infile : syntax.t2t - syntax.t2t
  6. Currentfile : syntax.t2t - syntax.t2t
  7. Outfile : syntax.txt - syntax.txt
  8. Syntax: Macro name is case insensitive
  9. Date : @DATE@
  10. Mtime : @MTIME@
  11. Infile : syntax.t2t
  12. Currentfile : syntax.t2t
  13. Outfile : syntax.txt
  14. Syntax: Macro with formatting string
  15. Date : txt 20 txt
  16. Mtime : txt 20 txt
  17. Infile : txt t2t txt
  18. Currentfile : txt t2t txt
  19. Outfile : txt txt txt
  20. Syntax: Leading and trailing spaces are preserved
  21. Date : ( txt ) - ( 20 )
  22. Mtime : ( txt ) - ( 20 )
  23. Infile : ( txt ) - ( t2t )
  24. Currentfile : ( txt ) - ( t2t )
  25. Outfile : ( txt ) - ( txt )
  26. Test: Expansion of the percent char
  27. Date : % - % - %% - %%
  28. Mtime : % - % - %% - %%
  29. Infile : % - % - %% - %%
  30. Currentfile : % - % - %% - %%
  31. Outfile : % - % - %% - %%
  32. Test: Various per line, glued
  33. Date : 20@DATE@@DATE@
  34. Mtime : 20@MTIME@@MTIME@
  35. Infile : t2tsyntax.t2tsyntax.t2t
  36. Currentfile : t2tsyntax.t2tsyntax.t2t
  37. Outfile : txtsyntax.txtsyntax.txt