Skip to content
Discussion options

You must be logged in to vote

We correctly map the variable to the bootstrap rule, but this will only have effect on non-computation code blocks, from the comment

// Maps the pandoc 'monobackgroundcolor' to bootstrap
// Note this only targets code outside of sourceCode blocks
@if variable-exists(mono-background-color) {
p code:not(.sourceCode),
li code:not(.sourceCode),
kbd,
pre:not(.sourceCode),
samp {
background-color: $mono-background-color;
padding: 0.2em;
}
}

So it should indeed work for the inline code, but it gets override by the rule right after

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dragonstyle
Comment options

@cderv
Comment options

@harrelfe
Comment options

@ondrej-such
Comment options

@ondrej-such
Comment options

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