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

Improve code block rendering with larger indentation #201

Open
1 of 2 tasks
jibidus opened this issue Oct 30, 2020 · 2 comments
Open
1 of 2 tasks

Improve code block rendering with larger indentation #201

jibidus opened this issue Oct 30, 2020 · 2 comments

Comments

@jibidus
Copy link
Contributor

jibidus commented Oct 30, 2020

code block with tab indentation has a better output :

With 1 tab :
image

With 2 spaces :
image

  • Step 1 : document this
  • Step 2 : make space indentation work (if possible)
@jibidus
Copy link
Contributor Author

jibidus commented Oct 30, 2020

We could complete documentation to explain how to customize code block with this link: https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode

@jibidus
Copy link
Contributor Author

jibidus commented Nov 24, 2020

Spaces and tabs indentation work well (with jetBrains Mono font). 4 spaces = 1 tab.
1 item added in documentation about that + #219 to encourage 4 spaces (not 2)

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

No branches or pull requests

1 participant