Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/markdown_it/common/html_blocks.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

2 statements  

1"""List of valid html blocks names, according to commonmark spec 

2http://jgm.github.io/CommonMark/spec.html#html-blocks 

3""" 

4 

5# see https://spec.commonmark.org/0.31.2/#html-blocks 

6block_names = [ 

7 "address", 

8 "article", 

9 "aside", 

10 "base", 

11 "basefont", 

12 "blockquote", 

13 "body", 

14 "caption", 

15 "center", 

16 "col", 

17 "colgroup", 

18 "dd", 

19 "details", 

20 "dialog", 

21 "dir", 

22 "div", 

23 "dl", 

24 "dt", 

25 "fieldset", 

26 "figcaption", 

27 "figure", 

28 "footer", 

29 "form", 

30 "frame", 

31 "frameset", 

32 "h1", 

33 "h2", 

34 "h3", 

35 "h4", 

36 "h5", 

37 "h6", 

38 "head", 

39 "header", 

40 "hr", 

41 "html", 

42 "iframe", 

43 "legend", 

44 "li", 

45 "link", 

46 "main", 

47 "menu", 

48 "menuitem", 

49 "nav", 

50 "noframes", 

51 "ol", 

52 "optgroup", 

53 "option", 

54 "p", 

55 "param", 

56 "search", 

57 "section", 

58 "summary", 

59 "table", 

60 "tbody", 

61 "td", 

62 "tfoot", 

63 "th", 

64 "thead", 

65 "title", 

66 "tr", 

67 "track", 

68 "ul", 

69]