main.nim 560 B

123456789101112131415161718192021222324
  1. ## my heading
  2. ## ==========
  3. ##
  4. ## .. importdoc:: sub/submodule.nim, ../util.nim, doc/manual.md
  5. ##
  6. ## .. See also [Second&&&] and particularly [first section] and [Second section &].
  7. ##
  8. ## See also [module nimdoc/extlinks/util] or [nimdoc/extlinks/project/sub/submodule module].
  9. ##
  10. ## Ref. [`</a>` proc].
  11. ##
  12. ## Ref. [First section] or [Second section &] from [Nothing User Manual].
  13. import ../util, sub/submodule
  14. type A* = object
  15. x: int
  16. proc mainfunction*(): int =
  17. # just to suppress "not used" warnings:
  18. if `</a>`(1, 2):
  19. result = utilfunction(0)