nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 298447e22d2bda86c3ef2337d1543acd2f546071
parent a3c7de8a509caf214dadd493af11441ecd7feda2
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu,  5 Jan 2023 16:08:19 +0100

syntax: html: colorize specially the other two emphasizing tags too

In most cases, <em> behaves like <i> and <strong> behaves like <b>,
so it makes sense to treat all of them in the same manner.

Diffstat:
Msyntax/html.nanorc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/syntax/html.nanorc b/syntax/html.nanorc @@ -8,8 +8,8 @@ formatter tidy -m -q # Tags: color cyan "<[[:alpha:]/!?][^>]*>" -# Bold, italic, and underlined: -color brightmagenta "</?[biu]>" +# Bold, italic, underlined, emphasis, and importance: +color brightmagenta "</?(b|i|u|em|strong)>" # Named character references: color red "&[^;[:space:]]*;"