瀏覽代碼

Documentation update

main
Rocketsoup 1 年之前
父節點
當前提交
4996532779
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      markdown.md

+ 7
- 1
markdown.md 查看文件

@@ -586,7 +586,13 @@ Class:
586 586
 
587 587
 ### HTML Tags
588 588
 
589
-Currently all HTML tags and attributes are permitted, when markdown syntax doesn't do what you want.
589
+HTML tags can be used verbatim where markdown is too limiting.
590
+
591
+The allowable tags, attributes, and CSS are governed by `Markdown.tagFilter`
592
+which is a configurable `MDHTMLFilter` object. Anything not excplicitly included
593
+in the filter is rendered as plain text or stripped from the output. For example,
594
+Javascript event hooks are disallowed, as are scripts, stylesheets, and iframes,
595
+among many others.
590 596
 
591 597
 Class:
592 598
 * `MDHTMLTagReader`

Loading…
取消
儲存