-
Notifications
You must be signed in to change notification settings - Fork 129
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
Code blocks using highlight shortcode in lists have extra indentation #161
Comments
As I summarize in gohugoio/hugo#4717 (comment), this issue will be fixed once Hugo accepts the fixed
|
kaushalmodi
added a commit
that referenced
this issue
Jan 4, 2022
Ref: - #499 - #305 This update also "fixes" #161. The code fenced block don't have the same issue as the `highlight` shortcode does. As we now export line numbered code blocks as fenced code blocks by default and are moving away from the buggy `highlight` shortcode, we are bypassing issue #161. If you don't like the change in behavior of src block exports in this commit, customize `org-hugo-goldmark`. See #485.
kaushalmodi
added a commit
that referenced
this issue
Jan 4, 2022
Ref: - #499 - #305 This update also "fixes" #161. The code fenced block don't have the same issue as the `highlight` shortcode does. As we now export line numbered code blocks as fenced code blocks by default and are moving away from the buggy `highlight` shortcode, we are bypassing issue #161. If you don't like the change in behavior of src block exports in this commit, customize `org-hugo-goldmark`. See #485.
Fixed by #499, by actually preventing the use of the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The highlight shortcode based code blocks in lists get extra indentation.
The same does not happen when using code fences.
https://scripter.co/accessing-devdocs-from-emacs/#christopher-wellon-s-devdocs-lookup
gohugoio/hugo#4717
The text was updated successfully, but these errors were encountered: