Skip to content

Question: Include example #1013

Description

@AlexHedley

Do you have examples of the different shortcodes?

I'll like to use the include to create a Table of Contents, once, and use it in other posts.

I created another markdown file toc.md and put it in another directory inputs/includes.

Added the following to my post:

<?# Include "./../includes/posts/toc.md" /?>

But when built the site it added it as raw text not markdown.

Is there another attribute I need to set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions