02-19-2017, 11:47 PM | #1 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
Color code and snippets.
Hi,
It's not easy to find open and close tags in big html-files. 1. Is it possible to use any plugin to color code as in popular Notepad++? 2. Can I use any snippets as in Dreamweaver to copy code templates? May be there is a tool where all features are already implemented. P.S. I am not sure where I can post a question about the process of publishing eBook such as a list of recommended software (paid and free), how to upload and sell the book, how to advertise. I would like to see step by step description. |
02-20-2017, 03:03 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Strange, the code is color coded in my installation afak. I can't check it right now, but I am fairly positive about that.
You can create snippets that can insert code at your cursor positions. I do not know if there is a size limit on the snippet, there probably is. I do not know Dreamwever, so I can't comment on their method. A question about the process of upload/sell/advertise a book does belong more in the Workshop part of the forum I think. |
02-20-2017, 04:11 AM | #3 | |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Tools->Clip Editor probably does something similar to Dreamweaver's snippets. Spend a few minutes stepping though the menu's, and acquaint yourself with various context menu's, they have a lot of useful functionality. BR |
|
02-20-2017, 04:17 PM | #4 | |
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
Quote:
Color coding is working only for CSS. What about html tags? There is also a good feature in Notepad++. You can select text and indent automatically. |
|
02-20-2017, 04:21 PM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
02-20-2017, 05:15 PM | #6 | |
Grand Sorcerer
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There is definitely a problem of some kind if your html and attributes are not color-coded. Have you tried resetting the preferences to their default settings? Do you have any screenshots of this non-color-coded html?
Quote:
Last edited by DiapDealer; 02-20-2017 at 05:22 PM. |
|
02-22-2017, 08:11 PM | #7 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
|
02-22-2017, 08:19 PM | #8 | ||
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
Quote:
Quote:
Second, Is it possible to open the code with external editor and close it without saving somewhere on drive and import to Sigil? I mean to use external editor as embedded editor. |
||
02-22-2017, 08:34 PM | #9 | |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The Downloading Sigil sticky at the top of this forum has a link to the one I have (0.7.2), I've attached some screen shots from it for the Clips Editor and Preferences->Appearances BR Last edited by BetterRed; 02-22-2017 at 08:40 PM. Reason: Adding Sigil Codeview screenshot |
|
02-22-2017, 08:43 PM | #10 | |
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
Quote:
Anyway, the version of software is 0.9.7 but User Guide version is for 0.7.2 |
|
02-22-2017, 08:49 PM | #11 | ||
Grand Sorcerer
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Just right-click on an xhtml file in the Book Browser and select Open With to configure Notepad++ as an external editor and see what I mean. You'll only have to do it once. Thereafter. Notepad++ will be an option on the Open With submenu (when you right-click an xhtml file). Last edited by DiapDealer; 02-22-2017 at 10:19 PM. |
||
02-22-2017, 08:52 PM | #12 |
Grand Sorcerer
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
02-22-2017, 09:40 PM | #14 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Feb 2017
Device: none
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub code snippets (html / css) | zelda_pinwheel | ePub | 196 | 10-09-2016 04:21 AM |
Does kindle accept RTF code snippets (PHP, HTML, CSS)? | webnerd | Kindle Formats | 0 | 11-29-2015 05:36 AM |
Moon+ Reader Pro: books with code snippets | bobkoure | Android Devices | 2 | 12-16-2013 03:20 PM |
Stop color rendering in code view | fxp33 | Sigil | 7 | 04-18-2013 01:46 PM |
Programming language code snippets in ebooks? | Connochaetes | Writers' Corner | 7 | 10-18-2010 02:43 PM |