Enable or Disable built-in macros
This section covers enabling or disabling the Tiny Editors built-in macros: useful text styling macros.
-
Using a plain text editor, open customization_path/javascript/tiny/editors/connections/config.js.
Note
Use a plain text editor to avoid inserting invalid formatting or symbols into config.js. Do not use a rich text editor such as Microsoft Word for editing configuration files.
-
Locate the property
macros, and set the following sub-properties totrueto enable andfalseto disable.Macro Effect (short) headingsCreate headings from lines prefixed with #listsCreate ordered and unordered lists from list prefixes semanticsBold and italic styling using Markdown-like syntax hrInsert a horizontal rule when a line contains ---linkConvert URL-like text into hyperlinks entitiesReplace shorthand sequences with HTML entities (for example (c)→ ©,--→ —)Examples
Headings
# heading 1 ## heading 2 ### heading 3 #### heading 4 ##### heading 5 ###### heading 6Lists
* Unordered list 1. Ordered list using numbers 1) Ordered list using numbers a. Ordered list using the alphabet a) Ordered list using the alphabet i. Ordered list using roman numerals i) Ordered list using roman numeralsSemantics (bold / italic)
*this text will be italic* _this text will be italic_ **this text will be bold** __this text will be bold__Horizontal rule
---Link conversion
Example: plain text that looks like a URL becomes a clickable link.
Entities
Examples: -
(c)→ ©
--or--→ — -
When you have finished making configuration changes, follow the post-customization steps to ensure the server cache is updated.
Note
If the configuration changes do not take affect, restart the Common enterprise application to force a cache update.
Parent topic: Modifying Tiny Editors for HCL Connections