Skip to content

Mobile device support, issues with the forum’s functionality or display.

User Avatar
#18
Auto-translated
}{0TT@6bI4
Incorrect display of line breaks and code tag; Firefox, version 81.0
The code tag and quote tag have been reworked. The quote tag has been redesigned and made more responsive.

In the code tag, all HTML tags are removed, and new line tags are taken into account when displaying.

Automatic code highlighting has also been added using the Prism library. It recognizes the syntax of the specifically selected language. For the modding and mapmaking sections of Heroes 5, the LUA syntax will be used by default if the syntax of the code block is not specified, as, according to my information, this is the language used in Heroes 5 for scripts. The syntax can be selected when adding a code block, and it can also be changed when editing. There is a special icon {;} in the editor to work with this block.