github / markup

Determines which markup library to use to render a content file (e.g. README) on GitHub
MIT License
5.84k stars 3.4k forks source link

Include code files #1524

Open Dreamsorcerer opened 2 years ago

Dreamsorcerer commented 2 years ago

It would be great to have a way to include code files into README.rst. By separating the code to another file, we can do static type checking etc. on our examples to ensure they are always running correctly.

dchsueh commented 1 year ago

I vote for this issue - support literalinclude

https://sublime-and-sphinx-guide.readthedocs.io/en/latest/code_blocks.html#show-example-code

github-actions[bot] commented 1 week ago

Stale issue message

Dreamsorcerer commented 1 week ago

Stale issue message

Someone clearly spent a lot of time editing that template. :P