Closed noahehall closed 1 year ago
nim doc file.nim
##[ - *.nims ]##
08:31 PM (develop *% u=) $ nim doc nim_doc_fails.nim Hint: used config file '/home/poop/.choosenim/toolchains/nim-1.6.10/config/nim.cfg' [Conf] Hint: used config file '/home/poop/.choosenim/toolchains/nim-1.6.10/config/config.nims' [Conf] Hint: used config file '/home/poop/.choosenim/toolchains/nim-1.6.10/config/nim.cfg' [Conf] Hint: used config file '/home/poop/.choosenim/toolchains/nim-1.6.10/config/config.nims' [Conf] Hint: used config file '/home/poop/.choosenim/toolchains/nim-1.6.10/config/nimdoc.cfg' [Conf] ......................................................... /home/poop/git/foss/nim/nim_doc_fails.nim(1, 8) Error: '*' expected lineinfos.nim(289) raiseRecoverableError Error: unhandled exception: '*' expected [ERecoverableError]
$ nim -v Nim Compiler Version 1.6.10 [Linux: amd64] Compiled at 2022-11-21 Copyright (c) 2006-2021 by Andreas Rumpf
git hash: f1519259f85cbdf2d5ff617c6a5534fcd2ff6942 active boot switches: -d:release
No response
*
*.nims
Another solution is to escape the * so that the markdown parser skips it
##[ - \*.nims ]##
Duplicate of https://github.com/nim-lang/Nim/issues/19607
@ire4ever1190 thanks for the work around
Description
nim doc file.nim
with the following contentNim Version
$ nim -v Nim Compiler Version 1.6.10 [Linux: amd64] Compiled at 2022-11-21 Copyright (c) 2006-2021 by Andreas Rumpf
git hash: f1519259f85cbdf2d5ff617c6a5534fcd2ff6942 active boot switches: -d:release
Current Output
No response
Expected Output
Possible Solution
*
in*.nims
Additional Information
No response