Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

사용자정의 스타일을 이용해서 자주 사용되는 문단, 런 스타일을 등록해두시면 더 빠르고 편리한 편집이 가능합니다.

사용자정의 문단스타일

사용자정의 문단스타일을 사용하려면 아래와 같이 환경설정을 해야 합니다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
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.customStyle.paragraph': [{
    'paragraph': [{
        'name': 'Dark Gray 2',
        'style': {
            'color': { 'r': 98, 'g': 98, 'b': 98 }
   'r': 170     },
    },{
        'gname': 170'Light Gray',
          'bstyle': {
    170        'color': }{ 'r': 220, 'g': 220, 'b': 220 }
        }
    }],
}
  • 사용자정의 문단스타일 적용결과
    Image Removed

사용자정의 런스타일

사용자정의 런스타일은 아래와 같이 설정합니다
  • If the parameters above are applied, the Editor will look like this:

    Image Added

Custom Run Styles

To use custom run styles, you need to set the following preferences.

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.customStyle.textRun': [{
    'textRun': [{
        'name': 'BigRedMint 32 Bold',
        'style': {
            'fontSizebold': 32true,
            'colorfontSize': {
                'rvalue': 25532,
          'g      'unit': 0 '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 }
 }       }
    }
  ]
}
  • 사용자정의 런스타일 설정 결과
    Image Removed

관련 기능