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

Add syntax for filename above codeblock #1

Open
uranusjr opened this issue Sep 21, 2014 · 1 comment
Open

Add syntax for filename above codeblock #1

uranusjr opened this issue Sep 21, 2014 · 1 comment
Assignees

Comments

@uranusjr
Copy link
Member

Like Django’s documentation. Maybe something like…

~~~lang:file/path

code...
~~~

Maybe use a space instead of colon? Can Mistune handle it?

@uranusjr uranusjr self-assigned this Sep 21, 2014
@lepture
Copy link

lepture commented Mar 24, 2015

Yeah. Mistune can do this. Use block_code renderer.

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

No branches or pull requests

2 participants