Hide HTML as well
Even if I really like MD, sometimes I have to use HTML, mostly
to make my text accessible: use the lang attribute, abbr,
acronym...
I would be great if FoldingText would hide HTML syntax as it
already does with MD syntax, allowing me to keep focused on
text.
D
Support Staff 2 Posted by Jesse Grosjean on 20 Jul, 2012 08:27 PM
I’m sorry but for now I think that would be to difficult… trying to detect which lines were html and which were not, etc.
Jesse Grosjean closed this discussion on 20 Jul, 2012 08:27 PM.
Signor D re-opened this discussion on 20 Jul, 2012 10:52 PM
3 Posted by Signor D on 20 Jul, 2012 10:52 PM
I thought you could at least allow the user the option to allow everything between chevrons: this way <acronym title="Institut National d'Histoire de l'Art" lang="fr">INHA</acronym> will be shown just INHA.
D
Support Staff 4 Posted by Jesse Grosjean on 24 Jul, 2012 06:53 PM
I still don’t know that hiding would be a good idea. But in the next release I’ll add some pretty bare bones highlighting of HTML tags. Please try that out and let me know if it at least helps make HTML a little more palatable in FoldingText documents.
Support Staff 5 Posted by Jesse Grosjean on 24 Jul, 2012 07:59 PM
Ok, please try version 0.9.1 when you get a chance and see if that helps with the tags. With a custom theme you could now turn on tag hiding if you want (hide class .htmltag) though I still think that would be really confusing.
Jesse Grosjean closed this discussion on 24 Jul, 2012 07:59 PM.
Signor D re-opened this discussion on 25 Jul, 2012 11:45 AM
6 Posted by Signor D on 25 Jul, 2012 11:45 AM
I have downloaded 0.9.1. I see the new Highlight HTML tags function (and I like it), but I do not understand how should I turn on tag hiding.
D
Support Staff 7 Posted by Jesse Grosjean on 26 Jul, 2012 11:10 AM
You could add something like this to a custom CSS theme:
But in my mind that’s still asking for trouble. You’ll have no hint that any tag exists until you move your cursor into it. I just doesn’t work well. Instead you might try this:
That just makes the tag font smaller and works a lot better in my opinion.
Jesse