Pārlūkot izejas kodu

Documentation update

main
Rocketsoup 1 gadu atpakaļ
vecāks
revīzija
4996532779
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7
    1
      markdown.md

+ 7
- 1
markdown.md Parādīt failu

@@ -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`

Notiek ielāde…
Atcelt
Saglabāt