Skip to content
Discussion options

You must be logged in to vote

Thanks for noting. That's actually by design and resembles the behavior of tabbed fenced code blocks before we had Tabbed. The idea is: if a code block is the first child, the margin is gone. You can override the rule that adds the margin with additional CSS if you don't like the behavior:

.md-typeset .tabbed-block > .highlight:first-child > pre {
  margin: 1em;
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SPyofgame
Comment options

@squidfunk
Comment options

Answer selected by reregaga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants