mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8484d31888
commit
e9da7ecd4c
8
wiki.js
8
wiki.js
@ -645,7 +645,7 @@ var data = {
|
|||||||
+'\n'
|
+'\n'
|
||||||
+'<macro src="./*">'
|
+'<macro src="./*">'
|
||||||
+'<hr>'
|
+'<hr>'
|
||||||
+'<h2>@source(./path)</h2>'
|
+'<h2>[@source(./path)]</h2>'
|
||||||
+'<div>@quote(./raw)</div>'
|
+'<div>@quote(./raw)</div>'
|
||||||
+'</macro>\n'
|
+'</macro>\n'
|
||||||
+'\n',
|
+'\n',
|
||||||
@ -678,13 +678,13 @@ var data = {
|
|||||||
+'\n'
|
+'\n'
|
||||||
+'<div>\n'
|
+'<div>\n'
|
||||||
+'<a href="#pages">☰</a> \n'
|
+'<a href="#pages">☰</a> \n'
|
||||||
+'@include(../path)\n'
|
+'[@source(../path)]\n'
|
||||||
+'\n'
|
+'\n'
|
||||||
+'<slot name="toggle-edit-link">\n'
|
+'<slot name="toggle-edit-link">\n'
|
||||||
+'(<a href="#./_edit">edit</a>)\n'
|
+'(<a href="#./_edit">edit</a>)\n'
|
||||||
+'</slot>\n'
|
+'</slot>\n'
|
||||||
+'\n'
|
|
||||||
+'</div>\n'
|
+'</div>\n'
|
||||||
|
+'\n'
|
||||||
+'<hr>\n'
|
+'<hr>\n'
|
||||||
+'<h1 class="title" contenteditable tabindex="0">'
|
+'<h1 class="title" contenteditable tabindex="0">'
|
||||||
+'<slot name="title">'
|
+'<slot name="title">'
|
||||||
@ -908,7 +908,7 @@ var Wiki = {
|
|||||||
|
|
||||||
// format the new link...
|
// format the new link...
|
||||||
var to = p == '' ? ntitle : p +'/'+ ntitle
|
var to = p == '' ? ntitle : p +'/'+ ntitle
|
||||||
to = lnk[0] == '[' ? '['+to+'}' : to
|
to = lnk[0] == '[' ? '['+to+']' : to
|
||||||
|
|
||||||
// explicit link change -- replace...
|
// explicit link change -- replace...
|
||||||
if(from == l){
|
if(from == l){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user