mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
02b47d2ab8
commit
22a73a07e8
@ -337,6 +337,7 @@ editor .outline [tabindex]:focus {
|
|||||||
content: "" !important;
|
content: "" !important;
|
||||||
}
|
}
|
||||||
/* correct the right click zone... */
|
/* correct the right click zone... */
|
||||||
|
/* XXX need to account for nesting... (???) */
|
||||||
.editor .outline [tabindex].NOTE>span:after,
|
.editor .outline [tabindex].NOTE>span:after,
|
||||||
.editor .outline [tabindex].NOTE [tabindex]>span:after {
|
.editor .outline [tabindex].NOTE [tabindex]>span:after {
|
||||||
margin-right: calc(-1 * var(--padding-h));
|
margin-right: calc(-1 * var(--padding-h));
|
||||||
|
|||||||
@ -335,7 +335,7 @@ var Outline = {
|
|||||||
.replace(/^\s*(?<!\\)NOTE:?\s*(.*)$/m, style('NOTE'))
|
.replace(/^\s*(?<!\\)NOTE:?\s*(.*)$/m, style('NOTE'))
|
||||||
.replace(/^\s*(?<!\\)XXX\s+(.*)$/m, style('XXX'))
|
.replace(/^\s*(?<!\\)XXX\s+(.*)$/m, style('XXX'))
|
||||||
.replace(/^(.*)\s*(?<!\\)XXX$/m, style('XXX'))
|
.replace(/^(.*)\s*(?<!\\)XXX$/m, style('XXX'))
|
||||||
.replace(/(\s*)(?<!\\)(ASAP|BUG|FIX|HACK|STUB|WARNING|CAUTION)(\s*)/m,
|
.replace(/(\s*)(?<!\\)(ASAP|BUG|FIX|HACK|STUB|WARNING|CAUTION)(\s*)/gm,
|
||||||
'$1<span class="highlight $2">$2</span>$3')
|
'$1<span class="highlight $2">$2</span>$3')
|
||||||
// elements...
|
// elements...
|
||||||
.replace(/(\n|^)(?<!\\)---*\h*(\n|$)/m, '$1<hr>')
|
.replace(/(\n|^)(?<!\\)---*\h*(\n|$)/m, '$1<hr>')
|
||||||
|
|||||||
@ -108,8 +108,7 @@ var setup = function(){
|
|||||||
- XXX Highlight
|
- XXX Highlight
|
||||||
- Line
|
- Line
|
||||||
- ---
|
- ---
|
||||||
- Markers
|
- Markers: ASAP, BUG, FIX, HACK, STUB, WARNING, and CAUTION
|
||||||
- Basic "as soon as posible" (ASAP)
|
|
||||||
- Basic inline *bold*, _italic_ and ~striked~
|
- Basic inline *bold*, _italic_ and ~striked~
|
||||||
- Inline [X] checkboxes [_]
|
- Inline [X] checkboxes [_]
|
||||||
- To do items/blocks
|
- To do items/blocks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user