mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-02 14:29:55 +00:00
Inline code should not follow "Wrap long lines in code blocks" option
This commit is contained in:
parent
739e8cdf55
commit
4615a04e59
@ -157,7 +157,6 @@ code {
|
|||||||
color: <<colour code-foreground>>;
|
color: <<colour code-foreground>>;
|
||||||
background-color: <<colour code-background>>;
|
background-color: <<colour code-background>>;
|
||||||
border: 1px solid <<colour code-border>>;
|
border: 1px solid <<colour code-border>>;
|
||||||
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
|
||||||
padding: 0 3px 2px;
|
padding: 0 3px 2px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
||||||
@ -289,6 +288,7 @@ Markdown likes putting code elements inside pre elements
|
|||||||
*/
|
*/
|
||||||
pre > code {
|
pre > code {
|
||||||
display: block;
|
display: block;
|
||||||
|
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
|
Loading…
Reference in New Issue
Block a user