From 6a3137be33ef9440af689fb6be77785ec15e8e83 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 2 Jan 2015 10:25:31 +0530 Subject: [PATCH] Add some documentation for the special features in the code editor --- manual/edit.rst | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/manual/edit.rst b/manual/edit.rst index 80aa705eb9..cabf837350 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -704,3 +704,59 @@ a new book`. :hidden: function_mode + +Special features in the code editor +--------------------------------------- + +The calibre HTML editor is very powerful. It has many features that make +editing of HTML (and CSS) easier. + +Syntax highlighting +^^^^^^^^^^^^^^^^^^^^^ + +The HTML editor has very sophisticated syntax highlighting. Features include: + + * The text inside bold, italic and heading tags is made bold/italic + * As you move your cursor through the HTML, the matching HTML tags are + highlighted + * Invalid HTML is highlighted with a red underline + * Spelling errors in the text inside HTML tags and attributes such as title + are highlighted. The spell checking is language aware, based on the value + of the lang attribute of the current tag and the overall book language. + * CSS embedded inside ``