Skip to content

Commit

Permalink
[Markdown] Update HTML block element list.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Apr 14, 2023
1 parent ded2679 commit 3f0d9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EditLexers/stlMarkdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ static KEYWORDLIST Keywords_Markdown = {{
//++Autogenerated -- start of section automatically generated
"address article aside base basefont blockquote body caption center col colgroup dd details dialog dir div dl dt "
"fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hr html iframe legend li link "
"main menu menuitem nav noframes ol optgroup option p param pre script section source style summary "
"main menu menuitem nav noframes ol optgroup option p param pre script search section style summary "
"table tbody td textarea tfoot th thead title tr track ul "

, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
Expand Down
2 changes: 1 addition & 1 deletion tools/KeywordCore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ def parse_llvm_api_file(path):

def parse_markdown_api_file(path):
blockTag = ['pre', 'script', 'style', 'textarea'] # type 1
type6 = "address, article, aside, base, basefont, blockquote, body, caption, center, col, colgroup, dd, details, dialog, dir, div, dl, dt, fieldset, figcaption, figure, footer, form, frame, frameset, h1, h2, h3, h4, h5, h6, head, header, hr, html, iframe, legend, li, link, main, menu, menuitem, nav, noframes, ol, optgroup, option, p, param, section, source, summary, table, tbody, td, tfoot, th, thead, title, tr, track, ul"
type6 = "address, article, aside, base, basefont, blockquote, body, caption, center, col, colgroup, dd, details, dialog, dir, div, dl, dt, fieldset, figcaption, figure, footer, form, frame, frameset, h1, h2, h3, h4, h5, h6, head, header, hr, html, iframe, legend, li, link, main, menu, menuitem, nav, noframes, ol, optgroup, option, p, param, search, section, summary, table, tbody, td, tfoot, th, thead, title, tr, track, ul"
blockTag.extend(type6.replace(',', ' ').split())
return [
('html block tag', blockTag, KeywordAttr.NoAutoComp),
Expand Down

0 comments on commit 3f0d9e1

Please sign in to comment.