toc.c

来自「HTML-XML-utils由一套小型C程序(过滤器)组成」· C语言 代码 · 共 18 行

C
18
字号
/* * Insert an active ToC between "<!--begin-toc-->" and "<!--end-toc-->", * or replacing the comment "<!--toc-->" * * Headers with class "no-toc" will not be listed in the ToC. * * The ToC links to elements with ID attributes as well as with * empty <A NAME> elements. * * Tags for a <SPAN> with class "index" are assumed to be used by * a cross-reference generator and will not be copied to the ToC. * * Any <A> tags with a class of "bctarget" are not copied, but * regenerated. They are assumed to be backwards-compatible versions * of ID attributes on their parent elements. With the option -t or -x * they are removed. * * Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?