]> Lady鈥檚 Gitweb - LesML/blobdiff - README.markdown
Support language tag and profile
[LesML] / README.markdown
index 82ad0fc3cd7f22105e6fc2113546ebd010854c362f816afd49b36ec3ff648e06..59c8c358bc0701125383d9c8b8707e3dac4e2d699b4601d52e4888922bc7c7e2 100644 (file)
@@ -28,9 +28,18 @@ It is implemented as an X路S路L路T transformation from a
 
 The first line of any 馃拕馃摑聽Les路M路L document should be the string
   `#!lesml`.
-
-Following the shebang, document metadata may be provided in the [Record
-  Jar][draft-phillips-record-jar-01] format.
+A language tag may follow this, beginning with `@` and terminated with
+  `$`, like so:
+`#!lesml@en$`.
+Regardless of whether a language tag is present, the shebang line may
+  be terminated by a space鈥恠eparated list of properties of the form
+  `key=value`.
+Only one property is currently permitted: `profile`, whose value should
+  be a U路R路I and is translated to the `@data-lesml-profile` attribute
+  on the resulting `<html:article>` element.
+
+Following the shebang line, document metadata may be provided in the
+  [Record Jar][draft-phillips-record-jar-01] format.
 The body of the document begins after the last line which begins with
   the string `%%`, or after the shebang line if none exists.
 
This page took 0.161337 seconds and 4 git commands to generate.