Everyone's been whining for markdown support from day one (especially me). But 
that's no excuse to not click that "[Styling with RST is 
supported](https://forum.nim-lang.org/about/rst)" link and RTFM. And use 
"Preview".

You can edit your comments. Place ```nim on the line before your code block and 
``` afterwards. Doesn't this look much better:
    
    
    import os
    
    echo "File Pattern: T*.txt "
    for filename in walkFiles("T*.txt"):
      echo filename
    echo ""
    
    echo "File Pattern: T??????.txt "
    for filename in walkFiles("T??????.txt"):
      echo filename
    echo ""
    
    echo "File Pattern: T???????.txt "
    for filename in walkFiles("T???????.txt"):
      echo filename
    echo ""
    
    
    Run

Pressing F12 over `walkFiles` [in 
vscode](https://github.com/pragmagic/vscode-nim) (or <M-g> [in 
vim](https://github.com/zah/nim.vim), etc) (and then the same for `walkCommon`, 
etc) shows the internals.

There's also a [glob](https://github.com/citycide/glob) nimble module: "Pure 
Nim library for matching file paths against Unix style glob patterns."

Reply via email to