1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-06 10:06:19 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/fileformats/MultiTiddlerFileSyntax.tid
Devin Weaver 1ff1390863 Add a syntax specification to MultiTiddlerFiles
Been playing with the railraod plugin and I thought I'd try my hand at
writing some syntax specs for the MultiTiddlerFiles tiddler.
2015-06-21 14:35:55 -04:00

30 lines
578 B
Plaintext

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