1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Merge pull request #1837 from sukima/feature/multi-tiddler-file-syntax

Add a syntax specification to MultiTiddlerFiles
This commit is contained in:
Jeremy Ruston 2015-06-25 17:33:15 +01:00
commit f3c066ff48
2 changed files with 34 additions and 1 deletions

View File

@ -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"
"""/>

View File

@ -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}}