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

Support files inclusion without a block #364

Open
arbipher opened this issue Jan 12, 2022 · 0 comments
Open

Support files inclusion without a block #364

arbipher opened this issue Jan 12, 2022 · 0 comments

Comments

@arbipher
Copy link

The feature of file inclusion is cool, but I wonder is it possible to include a file without a block

<!-- $MDX file=my_file.md -->

This will render to (''' are three backticks. I don't figure out how to escape it in github code block)

<!-- $MDX file=my_file.md -->
'''
CONTENT_OF_MY_FILE
'''

I hope to have

<!-- $MDX file=my_file.md -->
CONTENT_OF_MY_FILE

It can be used to split one giant markdown to multiple files.

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