Registering frequently used paragraph and run styles as custom styles allows you faster and more convenient editing.
Custom Paragraph Styles
To use custom paragraph styles, you need to set the following preferences.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ 'editor.customStyle.paragraph': [{ 'paragraph': [{ 'name': 'Dark Gray 2', 'style': { 'color': { 'r': 98, 'g': 98, 'b': 98 } 'r': 170}, },{ 'gname': 'Light 170Gray', 'bstyle': 170{ }'color': { 'r': 220, 'g': 220, 'b': 220 } } }], } |
- If the parameters above are applied, the Editor will look like this:
Custom Run Styles
To use custom run styles, you need to set the following preferences.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ 'editor.customStyle.textRun': [{ 'textRun': [{ 'name': 'BigRedMint 32 Bold', 'style': { 'fontSizebold': 32true, 'colorfontSize': { 'rvalue': 25532, 'g': 0 'unit': 'pt' }, 'bcolor': 0{ 'r': 57, 'g': 182, 'b': 184 } } } }, { { 'name': 'SmallBlueOrange 24 Bold', 'style': { 'fontSizebold': 16true, 'colorfontSize': { 'r 'value': 0,24, 'gunit': 0'pt' }, 'bcolor': 255{ 'r': 243, 'g': 151, 'b': 0 } } } } ] } |
- If the parameters above are applied, the Editor will look like this:
...