Can someone point out what's wrong with this source filter (I'm trying samples 
given here - 
[https://nim-lang.org/docs/filters.html](https://nim-lang.org/docs/filters.html))
 as it refuses to compile with an "invalid indentation" error message
    
    
    #? stdtmpl | standard
    #proc greet(name = "world"): string =
    # result = ""
    <h1>Hello $name</h1>
    #end proc
    
    echo greet()
    

Also, is this the recommend approach to HTML view templates? If not, can 
someone suggest alternatives?

Reply via email to