mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-28 17:40:07 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
78af3300c2
commit
05cf25bd16
@ -855,7 +855,7 @@ var styling = {
|
||||
.replace(/(\s*)(?<!\\)(ASAP|TEST|BUG|FIX|HACK|STUB|WARNING|CAUTION)(\s*)/gm,
|
||||
'$1<span class="highlight $2">$2</span>$3')
|
||||
// elements...
|
||||
.replace(/(\n|^)(?<!\\)---+[\t ]*(\n|$)/m, '$1<hr>')
|
||||
.replace(/(\n|^)(?<!\\)---+[\t ]*(\n|$)/gm, '$1<hr>')
|
||||
// basic styling...
|
||||
.replace(/(?<!\\)\*(?=[^\s*])(([^*]|\\\*)*[^\s*])(?<!\\)\*/gm, '<b>$1</b>')
|
||||
.replace(/(?<!\\)~(?=[^\s~])(([^~]|\\~)*[^\s~])(?<!\\)~/gm, '<s>$1</s>')
|
||||
|
||||
@ -152,7 +152,22 @@ var setup = function(){
|
||||
- delete attr from code -- by removing it from attr list (when shown)...
|
||||
- DONE BUG? can't set `''` as attr value -- parser??
|
||||
- TOC: tweaking: add args like depth, ... -- as attributes...
|
||||
- TOC: should it be persistently generated as code and be serializable?
|
||||
- TOC: persistently generate as code
|
||||
- ```
|
||||
TOC
|
||||
```
|
||||
should turn into:
|
||||
```
|
||||
TOC
|
||||
\- [moo](#moo)
|
||||
\- [foo](#foo)
|
||||
```
|
||||
shown as:
|
||||
---
|
||||
\- [moo](#moo)
|
||||
\- [foo](#foo)
|
||||
---
|
||||
- ASAP check if we can add blocks during element handling...
|
||||
- simple use strategies:
|
||||
- custom element
|
||||
- constructor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user