diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2014-10-10 18:12:50 -0500 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2014-10-10 18:12:50 -0500 |
commit | 1a9c2ddc55cf563ea42d67811a19b2693d7a44e9 (patch) | |
tree | d7915f1fb59bb2cb65790b5fdb17eb2ad00253c9 /doc/markdown | |
parent | 6798a6a8e224471b69018ad5cc4a526654ea5772 (diff) | |
download | gitlab-ce-1a9c2ddc55cf563ea42d67811a19b2693d7a44e9.tar.gz |
Document whitelisted HTML tags and attributes
Diffstat (limited to 'doc/markdown')
-rw-r--r-- | doc/markdown/markdown.md | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/doc/markdown/markdown.md b/doc/markdown/markdown.md index 6d96da76ad7..0f63eca1f61 100644 --- a/doc/markdown/markdown.md +++ b/doc/markdown/markdown.md @@ -438,6 +438,65 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well. <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd> </dl> +The following tags can be used: + +* `<a/>` +* `<abbr/>` +* `<acronym/>` +* `<address/>` +* `<b/>` +* `<big/>` +* `<blockquote/>` +* `<br/>` +* `<cite/>` +* `<code/>` +* `<dd/>` +* `<del/>` +* `<dfn/>` +* `<div/>` +* `<dl/>` +* `<dt/>` +* `<em/>` +* `<h1/>` +* `<h2/>` +* `<h3/>` +* `<h4/>` +* `<h5/>` +* `<h6/>` +* `<hr/>` +* `<i/>` +* `<img/>` +* `<ins/>` +* `<kbd/>` +* `<li/>` +* `<ol/>` +* `<p/>` +* `<pre/>` +* `<samp/>` +* `<small/>` +* `<span/>` +* `<strong/>` +* `<sub/>` +* `<sup/>` +* `<tt/>` +* `<ul/>` +* `<var/>` + +You can also use the following HTML attributes in your inline tags: + +* `abbr` +* `alt` +* `cite` +* `class` +* `datetime` +* `height` +* `href` +* `name` +* `src` +* `title` +* `width` +* `xml:lang` + ## Horizontal Rule ``` |