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'
|
||||
+'<macro src="./*">'
|
||||
+'<hr>'
|
||||
+'<h2>@source(./path)</h2>'
|
||||
+'<h2>[@source(./path)]</h2>'
|
||||
+'<div>@quote(./raw)</div>'
|
||||
+'</macro>\n'
|
||||
+'\n',
|
||||
@ -678,13 +678,13 @@ var data = {
|
||||
+'\n'
|
||||
+'<div>\n'
|
||||
+'<a href="#pages">☰</a> \n'
|
||||
+'@include(../path)\n'
|
||||
+'[@source(../path)]\n'
|
||||
+'\n'
|
||||
+'<slot name="toggle-edit-link">\n'
|
||||
+'(<a href="#./_edit">edit</a>)\n'
|
||||
+'</slot>\n'
|
||||
+'\n'
|
||||
+'</div>\n'
|
||||
+'\n'
|
||||
+'<hr>\n'
|
||||
+'<h1 class="title" contenteditable tabindex="0">'
|
||||
+'<slot name="title">'
|
||||
@ -908,7 +908,7 @@ var Wiki = {
|
||||
|
||||
// format the new link...
|
||||
var to = p == '' ? ntitle : p +'/'+ ntitle
|
||||
to = lnk[0] == '[' ? '['+to+'}' : to
|
||||
to = lnk[0] == '[' ? '['+to+']' : to
|
||||
|
||||
// explicit link change -- replace...
|
||||
if(from == l){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user