diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-11-22 12:50:08 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-11-22 12:53:05 +0100 |
commit | 5344dab8ebf29ff96dd9e0d1411e11b44e2ccccf (patch) | |
tree | 8af87d5bd62cd99cda9147bd58d4f0dab27607aa /doc | |
parent | ae52918faa36ad59deca3561acce79ad6d3ea0c2 (diff) | |
download | pandoc-5344dab8ebf29ff96dd9e0d1411e11b44e2ccccf.tar.gz |
Org reader: parse `#+LANGUAGE` into `lang` metadata field
Fixes: #6845
Diffstat (limited to 'doc')
-rw-r--r-- | doc/org.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/org.md b/doc/org.md index c9f37b166..522ccc23c 100644 --- a/doc/org.md +++ b/doc/org.md @@ -22,7 +22,8 @@ The following export keywords are supported: - EMAIL: author email address; passed as plain-text metadata field `email`, but not used by any default templates. -- LANGUAGE: currently unsupported; use `#+LANG:` instead. +- LANGUAGE: document language; included as plain-text metadata + field `lang`. The value should be a [BCP47 language tag]. - SELECT_TAGS: tags which select a tree for export. Currently *unsupported*. @@ -36,6 +37,8 @@ The following export keywords are supported: defaults to stdout unless a target has to be given as a command line option. +[BCP47 language tag]: https://tools.ietf.org/html/bcp47 + Format-specific options ----------------------- |