openvk/data/knowledgebase/notes.md

28 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2020-06-16 15:38:32 +03:00
OpenVK-KB-Heading: Editing notes
OpenVK wiki-markup is basically XHTML1.0 Transitional. The only difference is that we removed tags that are not needed or may harm OpenVK and it's users.
2020-06-16 15:38:32 +03:00
Allowed tags:
* All headers from level 3 to 6 (h3-h6)
* Paragraphs (<p>)
* Text formatting (<i>, <b>, <del>)
* <sup>, <sub>, <ins>
* Everything related to tables
* Links and images (<a>, <img>)
* Lists (and <ol> and <ul>)
2020-06-16 15:38:32 +03:00
* Line feed and horizontal rule (hr)
* Blockquotes (<blockquote> and <cite>)
2020-06-16 15:38:32 +03:00
* <acronym>
**Please note**: images can't have sourcemap and their source must be a file that is hosted on this OpenVK instance. This restrictions does not apply to links. Links can link to everything (except for data: and javascript: pseudoprotocols). They will be derefered though.
2020-06-16 15:38:32 +03:00
You may also have noticed, that <style> is note in the allowlist, however, we do support styling <div> and <img> tags using style attribute. This CSS properties are allowed:
* float
* height
* width
* max-height
* max-width
* font-weight
2020-06-16 15:38:32 +03:00
If property is a size property it can only accept pixels as value (no %, pt, pc, em, rem, vw or vh).