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

renderhooks: add filename option to code block #464

Open
davidsneighbour opened this issue Feb 23, 2023 · 2 comments
Open

renderhooks: add filename option to code block #464

davidsneighbour opened this issue Feb 23, 2023 · 2 comments
Assignees
Labels
module:renderhooks state:confirmed This issue is confirmed. type:enhancement New enhancements and features.

Comments

@davidsneighbour
Copy link
Owner

Add an option to render-codeblock.html that allows to show a file name next to the code type tab. Maybe as disabled tab in the tab navigation.

@davidsneighbour davidsneighbour self-assigned this Feb 23, 2023
@davidsneighbour
Copy link
Owner Author

not possible because the file name can't be piped through the whole highlighting code. it's possible via shortcode.

@davidsneighbour
Copy link
Owner Author

can be piped through via .Attributes method on the config options object.

@davidsneighbour davidsneighbour transferred this issue from davidsneighbour/kollitsch.dev Feb 28, 2024
@davidsneighbour davidsneighbour changed the title feat: add filename option to code block debug: add filename option to code block Feb 28, 2024
@davidsneighbour davidsneighbour changed the title debug: add filename option to code block renderhooks: add filename option to code block Mar 1, 2024
@davidsneighbour davidsneighbour added state:unconfirmed This issue needs to be reproduced. module:renderhooks state:confirmed This issue is confirmed. type:enhancement New enhancements and features. and removed state:unconfirmed This issue needs to be reproduced. labels Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:renderhooks state:confirmed This issue is confirmed. type:enhancement New enhancements and features.
Projects
None yet
Development

No branches or pull requests

1 participant