-
I'm using the below shortcode to fetch data from a git repository:
When I use this shortcode, there is no padding on the left and right. This is the repository in question, and this is the file where I using the shortcode. Steps to reproduce:
How do I ensure that the code which is fetched has the same padding as the code which is already part of the same repository? |
Beta Was this translation helpful? Give feedback.
Answered by
imfing
Sep 2, 2023
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
zigmd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to add the wrapper around code block:
hextra/layouts/_default/_markup/render-codeblock.html
Line 6 in 8e8f7f2
This can be done via either in your shortcode:
or in the markdown:
A caveat is that this code block would not have the copy button