minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-11 12:28:17 +03:00
parent 02b47d2ab8
commit 22a73a07e8
3 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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>')

View File

@ -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