The ctags parser used by Geany only parses 3 levels https://github.com/universal-ctags/ctags/blob/master/parsers/html.c.
Feel free to post a pull request on the Universal Ctags to improve it https://github.com/universal-ctags/ctags
Cheers Lex
On Wed, 9 Aug 2023 at 10:18, Little Girl via Users users@lists.geany.org wrote:
Hey there,
Terry N via Users wrote:
Hello. When creating or editing html documents, Geany only shows headings h1, h2 and h3 in the sidebar.
Interesting. I tried creating an HTML file with these very basic contents:
<html> <head> <title>Headings</title> </head> <body> <h1>Level 1 heading</h1> <h2>Level 2 heading</h2> <h3>Level 3 heading</h3> <h4>Level 4 heading</h4> <h5>Level 5 heading</h5> <h6>Level 6 heading</h6> </body> </html>
I opened it in Geany and looked in the Symbols tab in the sidebar. You're right. Only levels 1, 2, and 3 are shown in the sidebar. And if I open the file in Firefox, all 6 headings are displayed properly.
-- Little Girl
There is no spoon. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org