This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
ru:how_to:editor_configuration_syntaxhighlight [2013/10/21 08:52] Arkady [Интеграция подсветки с GetSimple] |
ru:how_to:editor_configuration_syntaxhighlight [2013/10/21 08:55] Arkady [Как работать с подсветкой] |
||
---|---|---|---|
Line 67: | Line 67: | ||
</code> | </code> | ||
===== Как работать с подсветкой ===== | ===== Как работать с подсветкой ===== | ||
- | After all, you will see a new icon in your toolbar: | + | После всего этого вы увидите новую иконку на панели инструментов: |
{{:how_to:ckeditor_plugin_syntaxhighlight.jpg|}}\\ | {{:how_to:ckeditor_plugin_syntaxhighlight.jpg|}}\\ | ||
- | Click on that icon, you will see that PHP is the predefined language: | + | Кликните ее и убедитесь, что по умолчанию языком подсветки является PHP. |
{{:how_to:ckeditor_plugin_syntaxhighlight_2.jpg|}}\\ | {{:how_to:ckeditor_plugin_syntaxhighlight_2.jpg|}}\\ | ||
- | Now you can enter your code-snippet and after saving, \\ | + | Теперь вы можете ввести в открывшуюся форму фрагмент своего кода, и после сохранения\\ |
{{:how_to:ckeditor_plugin_syntaxhighlight_3.jpg|}}\\ | {{:how_to:ckeditor_plugin_syntaxhighlight_3.jpg|}}\\ | ||
- | it will be integrated nicely formatted into your page. | ||
- | A screenshot:\\ | + | он будет вставлен в вашу страницу уже с подсветкой.\\ |
+ | |||
+ | Скриншот:\\ | ||
{{:how_to:ckeditor_plugin_syntaxhighlight_4.jpg|}} | {{:how_to:ckeditor_plugin_syntaxhighlight_4.jpg|}} | ||