mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-25 12:21:58 +00:00
Compare commits
No commits in common. "a90cbf52a7b22a29c39c71967ac3f4a5936206e6" and "2af2c5a5c0fe52106d597819d1f87a35094ea8b4" have entirely different histories.
a90cbf52a7
...
2af2c5a5c0
@ -183,19 +183,11 @@ var plugin = {
|
|||||||
return function(_, text){
|
return function(_, text){
|
||||||
elem.style ??= []
|
elem.style ??= []
|
||||||
elem.style.push(...style)
|
elem.style.push(...style)
|
||||||
// handler...
|
return typeof(code) == 'function' ?
|
||||||
if(typeof(code) == 'function'){
|
code(...arguments)
|
||||||
return code(...arguments) }
|
: code != null ?
|
||||||
// explicit code...
|
code
|
||||||
if(code != null){
|
: text } },
|
||||||
return code }
|
|
||||||
// get first non-empty group...
|
|
||||||
var groups = [...arguments].slice(1, -2)
|
|
||||||
while(groups.length > 0
|
|
||||||
&& groups[0] == null){
|
|
||||||
groups.shift() }
|
|
||||||
return groups[0]
|
|
||||||
?? '' } },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -442,7 +434,6 @@ var tasks = {
|
|||||||
status: [
|
status: [
|
||||||
'DONE',
|
'DONE',
|
||||||
'REJECT',
|
'REJECT',
|
||||||
//'TODO',
|
|
||||||
],
|
],
|
||||||
// format:
|
// format:
|
||||||
// [
|
// [
|
||||||
|
|||||||
@ -50,6 +50,12 @@ var setup = function(){
|
|||||||
-
|
-
|
||||||
- ## Bugs:
|
- ## Bugs:
|
||||||
focused:: true
|
focused:: true
|
||||||
|
- BUG: \DONE at end of block replaces block with ~undefined~
|
||||||
|
- example:
|
||||||
|
- this is some text DONE
|
||||||
|
- should look like:
|
||||||
|
- DONE this is dome text
|
||||||
|
- BUG: `toc` does not track auto headings...
|
||||||
- BUG: styling error...
|
- BUG: styling error...
|
||||||
- this _seems `to` work_
|
- this _seems `to` work_
|
||||||
- `while` _this `does` not_
|
- `while` _this `does` not_
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user