added the wiki class attribute to the pre block generated from creole.
changed the style for the pre block just mentioned
This commit is contained in:
parent
5e8c9698d0
commit
0efa872e3a
@ -216,6 +216,10 @@ body {
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
.content .mainarea pre.wiki {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.content .mainarea tt {
|
||||
/*
|
||||
padding: .1em .1em .1em .1em;
|
||||
|
@ -300,6 +300,7 @@ var Url = {
|
||||
br: { tag: 'br', regex: /\\\\/ },
|
||||
|
||||
preBlock: { tag: 'pre', capture: 2,
|
||||
attrs: { 'class': 'wiki' },
|
||||
regex: /(^|\n)\{\{\{\n((.*\n)*?)\}\}\}(\n|$)/,
|
||||
replaceRegex: /^ ([ \t]*\}\}\})/gm,
|
||||
replaceString: '$1' },
|
||||
|
Loading…
Reference in New Issue
Block a user