8000 Improve code block rendering with larger indentation · Issue #201 · sogilis/Blog · GitHub
[go: up one dir, main page]

Skip to content

Improve code block rendering with larger indentation #201

Open

Description

@jibidus

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)

Activity

  1. jibidus commented on Oct 30, 2020

    @jibidus
    ContributorAuthor

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

  2. jibidus commented on Nov 24, 2020

    @jibidus
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0