aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2015-03-28 21:48:41 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2018-01-25 14:04:09 -0500
commit8c0698b013edeb82586290e637df7c30ede81b5a (patch)
treefa5350d22b627dea500cadd9744ab125d24b131e /docs
parentd18c3d0acab0e7469c3284c897afcb61f9dd1fea (diff)
downloadmarkdown-8c0698b013edeb82586290e637df7c30ede81b5a.tar.gz
markdown-8c0698b013edeb82586290e637df7c30ede81b5a.tar.bz2
markdown-8c0698b013edeb82586290e637df7c30ede81b5a.zip
Simplify output_formats to html and xhtml.
We started with the numbers before HTML5 was a thing and we thought there might be an XHTML2. Today, we know that all we have are HTML style tags and XHTML style tags. Nothing else really matters in the real world. Note that if '(x)html1' '(x)html4' or '(x)html5' are passed in, the number is stripped/ignored. Users shouldn't need to change their code for this.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference.md13
1 files changed, 2 insertions, 11 deletions
diff --git a/docs/reference.md b/docs/reference.md
index 1d73439..60c97eb 100644
--- a/docs/reference.md
+++ b/docs/reference.md
@@ -172,20 +172,11 @@ __output_format__{: #output_format }:
Supported formats are:
- * `"xhtml1"`: Outputs XHTML 1.x. **Default**.
- * `"xhtml5"`: Outputs XHTML style tags of HTML 5
- * `"xhtml"`: Outputs latest supported version of XHTML (currently XHTML 1.1).
- * `"html4"`: Outputs HTML 4
- * `"html5"`: Outputs HTML style tags of HTML 5
- * `"html"`: Outputs latest supported version of HTML (currently HTML 4).
+ * `"xhtml"`: Outputs XHTML style tags. **Default**.
+ * `"html5"`: Outputs HTML style tags.
The values can be in either lowercase or uppercase.
- !!! warning
- It is suggested that the more specific formats (`"xhtml1"`, `"html5"`, &
- `"html4"`) be used as the more general formats (`"xhtml"` or `"html"`) may
- change in the future if it makes sense at that time.
-
__tab_length__{: #tab_length }:
: Length of tabs in the source. Default: 4