Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Nested documentation strings #552

Open
yloiseau opened this issue Sep 29, 2020 · 1 comment
Open

Nested documentation strings #552

yloiseau opened this issue Sep 29, 2020 · 1 comment
Labels

Comments

@yloiseau
Copy link
Contributor

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".

@jponge
Copy link
Contributor

jponge commented Sep 30, 2020

Inception 🤣

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants