mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
![Devin Weaver](/assets/img/avatar_default.png)
Been playing with the railraod plugin and I thought I'd try my hand at writing some syntax specs for the MultiTiddlerFiles tiddler.
30 lines
578 B
Plaintext
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"
|
|
"""/>
|