Skip to content
Discussion options

You must be logged in to vote

You can include the code block itself from other files. The plugin should skip code blocks looking for nested inclusions so:

  • includer.md
    {% include-markdown "./included.md" %}
    
  • included.md
    ```
    {%
       include-markdown "../docs_include/<file>.md"
       heading-offset=<parent-section-header-level>
    %}
    ```
    

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@iain-palmer
Comment options

@mondeja
Comment options

@DeNelo
Comment options

@DeNelo
Comment options

Answer selected by mondeja
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #125 on September 19, 2022 14:08.