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

Feature Request: specify line range when include_code #3310

Closed
kezhenxu94 opened this issue Oct 26, 2018 · 0 comments
Closed

Feature Request: specify line range when include_code #3310

kezhenxu94 opened this issue Oct 26, 2018 · 0 comments

Comments

@kezhenxu94
Copy link
Contributor

For feature request

I'm wondering whether there is already a way to specify line range when using include_code tag, I want to include only partial code in a file.

The expected syntax may be:

{% include_code [title] [lang:language] [line_num:to_line_num] path/to/file%}
yoshinorin pushed a commit that referenced this issue Jan 1, 2019
thom4parisot pushed a commit to thom4parisot/hexo that referenced this issue Jan 17, 2020
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

3 participants