Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit includes #3

Open
majkinetor opened this issue Feb 11, 2019 · 0 comments
Open

Implicit includes #3

majkinetor opened this issue Feb 11, 2019 · 0 comments

Comments

@majkinetor
Copy link

It would be great to add another option, list of files that are included implicitelly.

Those would serve to include headers and footers for each markdown.

Config could look something like:

configs = {
            'mdx_include': {
                'footer': 'some footer text', 
                'header': |

                          ---
                          {!header.md!}
            },
        }

Alternativelly, there could be a convention - if file in root of the default location is named _header.md or _footer.md it gets included in every markdown.

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

No branches or pull requests

1 participant