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 (short)
    headings Create headings from lines prefixed with #
    lists Create ordered and unordered lists from list prefixes
    semantics Bold and italic styling using Markdown-like syntax
    hr Insert a horizontal rule when a line contains ---
    link Convert URL-like text into hyperlinks
    entities Replace shorthand sequences with HTML entities (for example (c) → ©, -- → —)

    Examples

    Headings

    # heading 1
    ## heading 2
    ### heading 3
    #### heading 4
    ##### heading 5
    ###### heading 6
    

    Lists

    * 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 (bold / italic)

    *this text will be italic*
    _this text will be italic_
    **this text will be bold**
    __this text will be bold__
    

    Horizontal rule

    ---
    

    Example: plain text that looks like a URL becomes a clickable link.

    Entities

    Examples: - (c) → ©
    - - or -- → —

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