Is it possible to generate doc comments from templates? I have something like:
    
    
    template foo(fn: untyped, doc: string) =
      template fn*(a: Foo) =
        "## " & doc    <======== I would like to inject doc comment here
        callfunc(fn, a)
    
    
    Run

> that is instantiated like this:
    
    
    foo(bar, "Doc comment about bar")
    
    
    Run

Reply via email to