Raw HTMLPost .DOCX Source for WordPress

Raw HTML tags with attributes are supported by mark such content with styles with predefined names. The styles’ properties (color, font, hidden, etc.) can set to any appropriate values.

Raw content#

Text content should be marked with style with the name ‘Raw’.

In below example style is colored blue to easily catch it in the document. See the picture below.

html-raw

And, HTML result of such markup is:

html-raw-result

See the sample.

Raw attributes#

Text content should be marked with style with the name ‘Raw Attributes’. Typed attributes relate to the closest content after it. Attributes in separate paragraphs are combined and relate to the closest paragraph.

In the below example style is colored to green to easily catch it in the document and separate it from ‘Raw’. Also, it is marked as hidden to prevent layout breaking. See the picture below.

html-raw-attributes

And, HTML result of such markup is:

html-raw-attributes-result

See the sample.

Leave a Reply