html_blocks.py 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. """List of valid html blocks names, according to commonmark spec
  2. http://jgm.github.io/CommonMark/spec.html#html-blocks
  3. """
  4. block_names = [
  5. "address",
  6. "article",
  7. "aside",
  8. "base",
  9. "basefont",
  10. "blockquote",
  11. "body",
  12. "caption",
  13. "center",
  14. "col",
  15. "colgroup",
  16. "dd",
  17. "details",
  18. "dialog",
  19. "dir",
  20. "div",
  21. "dl",
  22. "dt",
  23. "fieldset",
  24. "figcaption",
  25. "figure",
  26. "footer",
  27. "form",
  28. "frame",
  29. "frameset",
  30. "h1",
  31. "h2",
  32. "h3",
  33. "h4",
  34. "h5",
  35. "h6",
  36. "head",
  37. "header",
  38. "hr",
  39. "html",
  40. "iframe",
  41. "legend",
  42. "li",
  43. "link",
  44. "main",
  45. "menu",
  46. "menuitem",
  47. "nav",
  48. "noframes",
  49. "ol",
  50. "optgroup",
  51. "option",
  52. "p",
  53. "param",
  54. "section",
  55. "source",
  56. "summary",
  57. "table",
  58. "tbody",
  59. "td",
  60. "tfoot",
  61. "th",
  62. "thead",
  63. "title",
  64. "tr",
  65. "track",
  66. "ul",
  67. ]