Skip to content

[Suggestion]: Allow nesting verbatim ranged tags by using multiple @ prefix #58

@boltlessengineer

Description

@boltlessengineer

Currently in v1 spec, we cannot put @end\n inside verbatim ranged tag.

Makes it hard to write a norg document explaining norg syntax.
We do have |example to safely put @end\n inside a codeblock, but it's still hacky way to do that. It requires its content to be valid norg syntax and we cannot put |end inside it.

Suggestion

Allow user to use multiple @ prefix. Both starting and prefix should have same amount of prefix characters so we can put any lines inside a codeblock.

@@code

code block with `@end\n` in it.

@code
@end
`--- this won't close the codeblock starting from `@@code\n`

,--- only `end\n` with same amount of `@` prefix can close the codeblock.
@@end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions