Skip to content

How do I split a post up into several smaller markdown files? #1904

@fusion809

Description

@fusion809

Hi,

On Jekyll if I wanted to split a post up into several smaller markdown files (as they are easier to review and proof-read) I would merely include these smaller markdown files into the main post file using Liquid tags by something like:

{% include_relative post-part01.md %}

{% include_relative post-part02.md %}

{% include_relative post-part03.md %}
...
{% include_relative post-partn.md %}

where n is the number of markdown files I had split the post into. Is something like this possible with Hexo? My understanding of EJS templates is minimal, but based on available documentation I cannot see a way of doing this with this particular templating engine.

Thanks for your time,
Brenton

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