diff --git a/core/modules/parsers/newwikitextparser/rules/styleblock.js b/core/modules/parsers/newwikitextparser/rules/styleblock.js new file mode 100644 index 000000000..decc92b55 --- /dev/null +++ b/core/modules/parsers/newwikitextparser/rules/styleblock.js @@ -0,0 +1,58 @@ +/*\ +title: $:/core/modules/parsers/newwikitextparser/rules/styleblock.js +type: application/javascript +module-type: wikitextrule + +Wiki text block rule for assigning classes to paragraphs and other blocks. For example: + +{{{ +{{myClass{ +This paragraph will have the CSS class `myClass`. + +* The `