mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Merge pull request #1837 from sukima/feature/multi-tiddler-file-syntax
Add a syntax specification to MultiTiddlerFiles
This commit is contained in:
commit
f3c066ff48
@ -0,0 +1,29 @@
|
||||
created: 20150621181334837
|
||||
modified: 20150621181400844
|
||||
tags: [[TiddlyWiki on Node.js]]
|
||||
title: MultiTiddlerFileSyntax
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
!!! MultiTiddlerFiles
|
||||
|
||||
<$railroad text="""
|
||||
{<"Header Line">} "Blank Line" {(<"Tiddler Descriptor Line"> | <"Comment Line">)}
|
||||
"""/>
|
||||
|
||||
!!! Header Line
|
||||
|
||||
<$railroad text="""
|
||||
<"Identifier"> ":" {"Whitespace"} <"Value"> "New Line"
|
||||
"""/>
|
||||
|
||||
!!! Tiddler Descriptor Line
|
||||
|
||||
<$railroad text="""
|
||||
<"File Path"> ":" {"Whitespace"} <"Tiddler Title"> "New Line"
|
||||
"""/>
|
||||
|
||||
!!! Comment Line
|
||||
|
||||
<$railroad text="""
|
||||
"#" {("Text" | "Whitespace")} "New Line"
|
||||
"""/>
|
@ -1,5 +1,5 @@
|
||||
created: 20140209143652456
|
||||
modified: 20140912141738408
|
||||
modified: 20150621182140407
|
||||
tags: [[TiddlyWiki on Node.js]]
|
||||
title: MultiTiddlerFiles
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -30,3 +30,7 @@ Basics/Version: ~TiddlyWiki Version
|
||||
This example defines two tiddlers, [[$:/language/ControlPanel/Basics/Caption]] and [[$:/language/ControlPanel/Basics/Version]].
|
||||
|
||||
If a `title` field is specified in the header then it is treated as a prefix for the individual tiddlers defined in the title.
|
||||
|
||||
!! Syntax Specification
|
||||
|
||||
{{MultiTiddlerFileSyntax}}
|
||||
|
Loading…
Reference in New Issue
Block a user