You are here

markdown.schema.yml in Markdown 8.2

config/schema/markdown.schema.yml

File

config/schema/markdown.schema.yml
View source
  1. # Filter settings.
  2. filter_settings.markdown:
  3. type: markdown.parser
  4. mapping:
  5. override:
  6. type: boolean
  7. label: 'Override'
  8. # Parser Settings: CommonMark.
  9. markdown.parser_settings.commonmark:
  10. type: markdown.parser_settings
  11. label: 'CommonMark Settings'
  12. mapping:
  13. allow_unsafe_links:
  14. type: boolean
  15. label: 'Allow Unsafe Links'
  16. constraints:
  17. PrimitiveType: {}
  18. enable_em:
  19. type: boolean
  20. label: 'Enable Emphasis'
  21. constraints:
  22. PrimitiveType: {}
  23. enable_strong:
  24. type: boolean
  25. label: 'Enable Strong'
  26. constraints:
  27. PrimitiveType: {}
  28. html_input:
  29. type: string
  30. label: 'HTML Input'
  31. constraints:
  32. PrimitiveType: {}
  33. max_nesting_level:
  34. type: integer
  35. label: 'Maximum Nesting Level'
  36. constraints:
  37. PrimitiveType: {}
  38. renderer:
  39. type: mapping
  40. label: 'Renderer'
  41. mapping:
  42. block_separator:
  43. type: string
  44. label: 'Block Separator'
  45. constraints:
  46. PrimitiveType: {}
  47. inner_separator:
  48. type: string
  49. label: 'Inner Separator'
  50. constraints:
  51. PrimitiveType: {}
  52. soft_break:
  53. type: string
  54. label: 'Soft Break'
  55. constraints:
  56. PrimitiveType: {}
  57. unordered_list_markers:
  58. type: sequence
  59. label: 'Unordered List Markers'
  60. sequence:
  61. type: string
  62. label: 'Marker'
  63. constraints:
  64. PrimitiveType: {}
  65. use_asterisk:
  66. type: boolean
  67. label: 'Use Asterisk'
  68. constraints:
  69. PrimitiveType: {}
  70. use_underscore:
  71. type: boolean
  72. label: 'Use Underscore'
  73. constraints:
  74. PrimitiveType: {}
  75. # Parser Settings: CommonMark GFM.
  76. markdown.parser_settings.commonmark-gfm:
  77. type: markdown.parser_settings.commonmark
  78. label: 'CommonMark GFM Settings'
  79. # Parser Settings: Parsedown.
  80. markdown.parser_settings.parsedown:
  81. type: markdown.parser_settings
  82. label: 'Parsedown Settings'
  83. mapping:
  84. breaks_enabled:
  85. type: boolean
  86. label: 'Breaks Enabled'
  87. constraints:
  88. PrimitiveType: {}
  89. markup_escaped:
  90. type: boolean
  91. label: 'Markup Escaped'
  92. constraints:
  93. PrimitiveType: {}
  94. safe_mode:
  95. type: boolean
  96. label: 'Safe Mode'
  97. constraints:
  98. PrimitiveType: {}
  99. strict_mode:
  100. type: boolean
  101. label: 'Strict Mode'
  102. constraints:
  103. PrimitiveType: {}
  104. urls_linked:
  105. type: boolean
  106. label: 'URLs Linked'
  107. constraints:
  108. PrimitiveType: {}
  109. # Parser Settings: Parsedown Extra.
  110. markdown.parser_settings.parsedown-extra:
  111. type: markdown.parser_settings.parsedown
  112. label: 'Parsedown Extra Settings'
  113. # Parser Settings: PHP Markdown.
  114. markdown.parser_settings.php-markdown:
  115. type: markdown.parser_settings
  116. label: 'PHP Markdown Settings'
  117. mapping:
  118. empty_element_suffix:
  119. type: string
  120. label: 'Empty Element Suffix'
  121. constraints:
  122. PrimitiveType: {}
  123. enhanced_ordered_list:
  124. type: boolean
  125. label: 'Enhanced Ordered List'
  126. constraints:
  127. PrimitiveType: {}
  128. hard_wrap:
  129. type: boolean
  130. label: 'Hard Wrap'
  131. constraints:
  132. PrimitiveType: {}
  133. no_entities:
  134. type: boolean
  135. label: 'No Entities'
  136. constraints:
  137. PrimitiveType: {}
  138. no_markup:
  139. type: boolean
  140. label: 'No Markup'
  141. constraints:
  142. PrimitiveType: {}
  143. predef_titles:
  144. type: sequence
  145. label: 'Predefined Titles'
  146. sequence:
  147. type: string
  148. label: 'Predefined Title'
  149. constraints:
  150. PrimitiveType: {}
  151. predef_urls:
  152. type: sequence
  153. label: 'Predefined URLs'
  154. sequence:
  155. type: string
  156. label: 'Predefined URL'
  157. constraints:
  158. PrimitiveType: {}
  159. tab_width:
  160. type: integer
  161. label: 'Tab Width'
  162. constraints:
  163. PrimitiveType: {}
  164. Range:
  165. min: 4
  166. max: 32
  167. # Parser Settings: PHP Markdown Extra.
  168. markdown.parser_settings.php-markdown-extra:
  169. type: markdown.parser_settings.php-markdown
  170. label: 'PHP Markdown Extra Settings'
  171. mapping:
  172. code_attr_on_pre:
  173. type: boolean
  174. label: 'Code Attributes on <pre>'
  175. constraints:
  176. PrimitiveType: {}
  177. code_class_prefix:
  178. type: string
  179. label: 'Code Class Prefix'
  180. constraints:
  181. PrimitiveType: {}
  182. fn_backlink_class:
  183. type: string
  184. label: 'Footnote Backlink Class'
  185. constraints:
  186. PrimitiveType: {}
  187. fn_backlink_html:
  188. type: string
  189. label: 'Footnote Backlink HTML'
  190. constraints:
  191. PrimitiveType: {}
  192. fn_backlink_label:
  193. type: string
  194. label: 'Footnote Backlink Label'
  195. constraints:
  196. PrimitiveType: {}
  197. fn_backlink_title:
  198. type: string
  199. label: 'Footnote Backlink Title'
  200. constraints:
  201. PrimitiveType: {}
  202. fn_id_prefix:
  203. type: string
  204. label: 'Footnote ID Prefix'
  205. constraints:
  206. PrimitiveType: {}
  207. fn_link_class:
  208. type: string
  209. label: 'Footnote Link Class'
  210. constraints:
  211. PrimitiveType: {}
  212. fn_link_title:
  213. type: string
  214. label: 'Footnote Link Title'
  215. constraints:
  216. PrimitiveType: {}
  217. hashtag_protection:
  218. type: boolean
  219. label: 'Hashtag Protection'
  220. constraints:
  221. PrimitiveType: {}
  222. omit_footnotes:
  223. type: boolean
  224. label: 'Omit Footnotes'
  225. constraints:
  226. PrimitiveType: {}
  227. predef_abbr:
  228. type: sequence
  229. label: 'Predefined Abbreviations'
  230. sequence:
  231. type: string
  232. label: 'Predefined Abbreviation'
  233. constraints:
  234. PrimitiveType: {}
  235. table_align_class_tmpl:
  236. type: string
  237. label: 'Table Align Class Template'
  238. constraints:
  239. PrimitiveType: {}
  240. # Extension Settings: CommonMark Mention.
  241. markdown.extension_settings.commonmark-mention:
  242. type: markdown.extension_settings
  243. label: 'Mention'
  244. mapping:
  245. at:
  246. type: markdown.mention
  247. hash:
  248. type: markdown.mention
  249. # Extension Settings: CommonMark Emoji.
  250. markdown.extension_settings.commonmark-ext-emoji:
  251. type: markdown.extension_settings
  252. label: 'Emoji'
  253. mapping:
  254. github_api_token:
  255. type: string
  256. label: 'GitHub API Token'
  257. constraints:
  258. PrimitiveType: {}
  259. # Extension Settings: CommonMark External Links.
  260. markdown.extension_settings.commonmark-external-links:
  261. type: markdown.extension_settings
  262. label: 'Enhanced Links'
  263. mapping:
  264. html_class:
  265. type: string
  266. label: 'HTML Class'
  267. constraints:
  268. PrimitiveType: {}
  269. internal_hosts:
  270. type: sequence
  271. label: 'Internal Hosts'
  272. sequence:
  273. type: string
  274. label: 'Internal Host'
  275. constraints:
  276. PrimitiveType: {}
  277. nofollow:
  278. type: string
  279. label: 'No Follow'
  280. constraints:
  281. PrimitiveType: {}
  282. noopener:
  283. type: string
  284. label: 'No Opener'
  285. constraints:
  286. PrimitiveType: {}
  287. noreferrer:
  288. type: string
  289. label: 'No Referrer'
  290. constraints:
  291. PrimitiveType: {}
  292. open_in_new_window:
  293. type: boolean
  294. label: 'Open In New Window'
  295. constraints:
  296. PrimitiveType: {}
  297. # Extension Settings: CommonMark Heading Permalink.
  298. markdown.extension_settings.commonmark-heading-permalink:
  299. type: markdown.extension_settings
  300. label: 'Heading Permalinks'
  301. mapping:
  302. html_class:
  303. type: string
  304. label: 'HTML Class'
  305. constraints:
  306. PrimitiveType: {}
  307. id_prefix:
  308. type: string
  309. label: 'ID Prefix'
  310. constraints:
  311. PrimitiveType: {}
  312. inner_contents:
  313. type: string
  314. label: 'Inner Contents'
  315. constraints:
  316. PrimitiveType: {}
  317. insert:
  318. type: string
  319. label: 'Insert'
  320. constraints:
  321. PrimitiveType: {}
  322. title:
  323. type: string
  324. label: 'Title'
  325. constraints:
  326. PrimitiveType: {}
  327. # Extension Settings: CommonMark Smart Punctuation.
  328. markdown.extension_settings.commonmark-smart-punctuation:
  329. type: markdown.extension_settings
  330. label: 'Smart Punctuation'
  331. mapping:
  332. double_quote_opener:
  333. type: string
  334. label: 'Double Quote Opener'
  335. constraints:
  336. PrimitiveType: {}
  337. Length:
  338. min: 1
  339. max: 1
  340. double_quote_closer:
  341. type: string
  342. label: 'Double Quote Closer'
  343. constraints:
  344. PrimitiveType: {}
  345. Length:
  346. min: 1
  347. max: 1
  348. single_quote_opener:
  349. type: string
  350. label: 'Single Quote Opener'
  351. constraints:
  352. PrimitiveType: {}
  353. Length:
  354. min: 1
  355. max: 1
  356. single_quote_closer:
  357. type: string
  358. label: 'Single Quote Closer'
  359. constraints:
  360. PrimitiveType: {}
  361. Length:
  362. min: 1
  363. max: 1
  364. # Extension Settings: CommonMark Table of Contents.
  365. markdown.extension_settings.commonmark-table-of-contents:
  366. type: markdown.extension_settings
  367. label: 'Table Of Contents'
  368. mapping:
  369. html_class:
  370. type: string
  371. label: 'HTML Class'
  372. constraints:
  373. PrimitiveType: {}
  374. max_heading_level:
  375. type: integer
  376. label: 'Maximum Heading Level'
  377. constraints:
  378. PrimitiveType: {}
  379. Range:
  380. min: 1
  381. max: 6
  382. min_heading_level:
  383. type: integer
  384. label: 'Minimum Heading Level'
  385. constraints:
  386. PrimitiveType: {}
  387. Range:
  388. min: 1
  389. max: 6
  390. normalize:
  391. type: string
  392. label: 'Normalize'
  393. constraints:
  394. PrimitiveType: {}
  395. placeholder:
  396. type: string
  397. label: 'Placeholder'
  398. constraints:
  399. PrimitiveType: {}
  400. position:
  401. type: string
  402. label: 'Position'
  403. constraints:
  404. PrimitiveType: {}
  405. style:
  406. type: string
  407. label: 'Style'
  408. constraints:
  409. PrimitiveType: {}