golo-lang icon indicating copy to clipboard operation
golo-lang copied to clipboard

Nested documentation strings

Open yloiseau opened this issue 5 years ago • 1 comments

It is not currently possible to use documentation strings in code samples in documentation strings...

for instance:

----
This is the documentation of the `foo` function

Usage example:

    ```
    ----
    This is a sample main function
    ----
    function main = {
        foo()
    }
    ```

In this example, we call `foo` in a `main` function
----
function foo = -> null

The golo parser makes an error on "This".

yloiseau avatar Sep 29 '20 14:09 yloiseau

Inception 🤣

jponge avatar Sep 30 '20 10:09 jponge