diff --git a/doc/vcard3.mmd b/doc/vcard3.mmd new file mode 100644 index 0000000..506293f --- /dev/null +++ b/doc/vcard3.mmd @@ -0,0 +1,23 @@ +stateDiagram-v2 + [*] --> StartVCard + StartVCard --> ContentLine: "BEGIN VCARD" CRLF + ContentLine --> EndVCard: "END VCARD" CRLF + ContentLine --> Name + Name --> Name: 0-9/a-z/-/. + Name --> Param: SEMICOLON + Name --> Value: COLON + Param --> Value: COLON + Value --> ContentLine: CRLF + + state Param { + [*] --> ParamName + ParamName --> ParamName: 0-9/a-z/-/. + ParamName --> ParamValue: "=" + ParamValue --> ParamValue: "," + ParamValue --> PText + ParamValue --> Quoted + PText --> PText: SAFE-CHAR + PText --> [*] + Quoted --> Quoted: QSAFE-CHAR + Quoted --> [*] + }