Skip to content

Enable or Disable built-in macros

This section covers enabling or disabling the Tiny Editors built-in macros: useful text styling macros.

  1. 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.

  2. Locate the property macros, and set the following sub-properties to true to enable and false to disable.

    Macro Effect
    headings This macro creates headings when a line is prefixed with one or more "#". ```
    # heading 1
    ## heading 2
    ### heading 3
    #### heading 4
    ##### heading 5
    ###### heading 6
    ```

| |lists|This macro creates a list when a line is prefixed with a asterisk, or other combinations to create a list. * 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 numerals

| |semantics|This macro sets the font styling to bold or italic using markdown syntax. *this text will be italic* _this text will be italic_ **this text will be bold** __this text will be bold__

| |hr|This macro inserts a horizontal rule (hr tag) when a line starts with three consecutive dashes. ```


```

| |link|This macro converts URL-like text strings into a hyperlink.| |entities|This macro provides a shorthand for a few HTML entities. - "(c)" will become the copyright symbol (©) - "-" or "--" will become a long dash (—) |

  1. 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