From 58137a70bffe850f0aeef27bd3aa80250e223cb4 Mon Sep 17 00:00:00 2001 From: lmj01 Date: Tue, 14 May 2024 17:23:57 +0800 Subject: [PATCH] update --- articles/demo.md | 110 + articles/others/markdown.md | 37 - cpl/cplusplus.md | 1 + cpl/js/regularExpressions.js | 36 +- dev-note/index.md | 2 +- html/mathjax.config.js | 2 +- html/pinyin.html | 2 +- index.css | 9 +- index.html | 3 +- index.mjs | 11 +- index/book-info.md | 6 + libs/marked/fonts/KaTeX_AMS-Regular.ttf | Bin 0 -> 63632 bytes libs/marked/fonts/KaTeX_AMS-Regular.woff | Bin 0 -> 33516 bytes libs/marked/fonts/KaTeX_AMS-Regular.woff2 | Bin 0 -> 28076 bytes libs/marked/fonts/KaTeX_Caligraphic-Bold.ttf | Bin 0 -> 12368 bytes libs/marked/fonts/KaTeX_Caligraphic-Bold.woff | Bin 0 -> 7716 bytes .../marked/fonts/KaTeX_Caligraphic-Bold.woff2 | Bin 0 -> 6912 bytes .../fonts/KaTeX_Caligraphic-Regular.ttf | Bin 0 -> 12344 bytes .../fonts/KaTeX_Caligraphic-Regular.woff | Bin 0 -> 7656 bytes .../fonts/KaTeX_Caligraphic-Regular.woff2 | Bin 0 -> 6908 bytes libs/marked/fonts/KaTeX_Fraktur-Bold.ttf | Bin 0 -> 19584 bytes libs/marked/fonts/KaTeX_Fraktur-Bold.woff | Bin 0 -> 13296 bytes libs/marked/fonts/KaTeX_Fraktur-Bold.woff2 | Bin 0 -> 11348 bytes libs/marked/fonts/KaTeX_Fraktur-Regular.ttf | Bin 0 -> 19572 bytes libs/marked/fonts/KaTeX_Fraktur-Regular.woff | Bin 0 -> 13208 bytes libs/marked/fonts/KaTeX_Fraktur-Regular.woff2 | Bin 0 -> 11316 bytes libs/marked/fonts/KaTeX_Main-Bold.ttf | Bin 0 -> 51336 bytes libs/marked/fonts/KaTeX_Main-Bold.woff | Bin 0 -> 29912 bytes libs/marked/fonts/KaTeX_Main-Bold.woff2 | Bin 0 -> 25324 bytes libs/marked/fonts/KaTeX_Main-BoldItalic.ttf | Bin 0 -> 32968 bytes libs/marked/fonts/KaTeX_Main-BoldItalic.woff | Bin 0 -> 19412 bytes libs/marked/fonts/KaTeX_Main-BoldItalic.woff2 | Bin 0 -> 16780 bytes libs/marked/fonts/KaTeX_Main-Italic.ttf | Bin 0 -> 33580 bytes libs/marked/fonts/KaTeX_Main-Italic.woff | Bin 0 -> 19676 bytes libs/marked/fonts/KaTeX_Main-Italic.woff2 | Bin 0 -> 16988 bytes libs/marked/fonts/KaTeX_Main-Regular.ttf | Bin 0 -> 53580 bytes libs/marked/fonts/KaTeX_Main-Regular.woff | Bin 0 -> 30772 bytes libs/marked/fonts/KaTeX_Main-Regular.woff2 | Bin 0 -> 26272 bytes libs/marked/fonts/KaTeX_Math-BoldItalic.ttf | Bin 0 -> 31196 bytes libs/marked/fonts/KaTeX_Math-BoldItalic.woff | Bin 0 -> 18668 bytes libs/marked/fonts/KaTeX_Math-BoldItalic.woff2 | Bin 0 -> 16400 bytes libs/marked/fonts/KaTeX_Math-Italic.ttf | Bin 0 -> 31308 bytes libs/marked/fonts/KaTeX_Math-Italic.woff | Bin 0 -> 18748 bytes libs/marked/fonts/KaTeX_Math-Italic.woff2 | Bin 0 -> 16440 bytes libs/marked/fonts/KaTeX_SansSerif-Bold.ttf | Bin 0 -> 24504 bytes libs/marked/fonts/KaTeX_SansSerif-Bold.woff | Bin 0 -> 14408 bytes libs/marked/fonts/KaTeX_SansSerif-Bold.woff2 | Bin 0 -> 12216 bytes libs/marked/fonts/KaTeX_SansSerif-Italic.ttf | Bin 0 -> 22364 bytes libs/marked/fonts/KaTeX_SansSerif-Italic.woff | Bin 0 -> 14112 bytes .../marked/fonts/KaTeX_SansSerif-Italic.woff2 | Bin 0 -> 12028 bytes libs/marked/fonts/KaTeX_SansSerif-Regular.ttf | Bin 0 -> 19436 bytes .../marked/fonts/KaTeX_SansSerif-Regular.woff | Bin 0 -> 12316 bytes .../fonts/KaTeX_SansSerif-Regular.woff2 | Bin 0 -> 10344 bytes libs/marked/fonts/KaTeX_Script-Regular.ttf | Bin 0 -> 16648 bytes libs/marked/fonts/KaTeX_Script-Regular.woff | Bin 0 -> 10588 bytes libs/marked/fonts/KaTeX_Script-Regular.woff2 | Bin 0 -> 9644 bytes libs/marked/fonts/KaTeX_Size1-Regular.ttf | Bin 0 -> 12228 bytes libs/marked/fonts/KaTeX_Size1-Regular.woff | Bin 0 -> 6496 bytes libs/marked/fonts/KaTeX_Size1-Regular.woff2 | Bin 0 -> 5468 bytes libs/marked/fonts/KaTeX_Size2-Regular.ttf | Bin 0 -> 11508 bytes libs/marked/fonts/KaTeX_Size2-Regular.woff | Bin 0 -> 6188 bytes libs/marked/fonts/KaTeX_Size2-Regular.woff2 | Bin 0 -> 5208 bytes libs/marked/fonts/KaTeX_Size3-Regular.ttf | Bin 0 -> 7588 bytes libs/marked/fonts/KaTeX_Size3-Regular.woff | Bin 0 -> 4420 bytes libs/marked/fonts/KaTeX_Size3-Regular.woff2 | Bin 0 -> 3624 bytes libs/marked/fonts/KaTeX_Size4-Regular.ttf | Bin 0 -> 10364 bytes libs/marked/fonts/KaTeX_Size4-Regular.woff | Bin 0 -> 5980 bytes libs/marked/fonts/KaTeX_Size4-Regular.woff2 | Bin 0 -> 4928 bytes .../marked/fonts/KaTeX_Typewriter-Regular.ttf | Bin 0 -> 27556 bytes .../fonts/KaTeX_Typewriter-Regular.woff | Bin 0 -> 16028 bytes .../fonts/KaTeX_Typewriter-Regular.woff2 | Bin 0 -> 13568 bytes libs/marked/katex.min.css | 1 + libs/marked/mj-marked.mjs | 21232 ++++++++++++++++ {html/es5 => libs/mathjax.es5}/core.js | 0 .../mathjax.es5}/input/asciimath.js | 0 {html/es5 => libs/mathjax.es5}/input/mml.js | 0 .../mathjax.es5}/input/mml/entities.js | 0 .../mathjax.es5}/input/mml/extensions/mml3.js | 0 .../input/mml/extensions/mml3.sef.json | 0 .../mathjax.es5}/input/tex-base.js | 0 .../mathjax.es5}/input/tex-full.js | 0 {html/es5 => libs/mathjax.es5}/input/tex.js | 0 .../input/tex/extensions/action.js | 0 .../input/tex/extensions/all-packages.js | 0 .../mathjax.es5}/input/tex/extensions/ams.js | 0 .../input/tex/extensions/amscd.js | 0 .../input/tex/extensions/autoload.js | 0 .../mathjax.es5}/input/tex/extensions/bbox.js | 0 .../input/tex/extensions/boldsymbol.js | 0 .../input/tex/extensions/braket.js | 0 .../input/tex/extensions/bussproofs.js | 0 .../input/tex/extensions/cancel.js | 0 .../input/tex/extensions/cases.js | 0 .../input/tex/extensions/centernot.js | 0 .../input/tex/extensions/color.js | 0 .../input/tex/extensions/colortbl.js | 0 .../input/tex/extensions/colorv2.js | 0 .../input/tex/extensions/configmacros.js | 0 .../input/tex/extensions/empheq.js | 0 .../input/tex/extensions/enclose.js | 0 .../input/tex/extensions/extpfeil.js | 0 .../input/tex/extensions/gensymb.js | 0 .../mathjax.es5}/input/tex/extensions/html.js | 0 .../input/tex/extensions/mathtools.js | 0 .../input/tex/extensions/mhchem.js | 0 .../input/tex/extensions/newcommand.js | 0 .../input/tex/extensions/noerrors.js | 0 .../input/tex/extensions/noundefined.js | 0 .../input/tex/extensions/physics.js | 0 .../input/tex/extensions/require.js | 0 .../input/tex/extensions/setoptions.js | 0 .../input/tex/extensions/tagformat.js | 0 .../input/tex/extensions/textcomp.js | 0 .../input/tex/extensions/textmacros.js | 0 .../input/tex/extensions/unicode.js | 0 .../input/tex/extensions/upgreek.js | 0 .../mathjax.es5}/input/tex/extensions/verb.js | 0 {html/es5 => libs/mathjax.es5}/latest.js | 0 {html/es5 => libs/mathjax.es5}/loader.js | 0 {html/es5 => libs/mathjax.es5}/mml-chtml.js | 0 {html/es5 => libs/mathjax.es5}/mml-svg.js | 0 {html/es5 => libs/mathjax.es5}/node-main.js | 0 .../es5 => libs/mathjax.es5}/output/chtml.js | 0 .../mathjax.es5}/output/chtml/fonts/tex.js | 0 .../fonts/woff-v2/MathJax_AMS-Regular.woff | Bin .../woff-v2/MathJax_Calligraphic-Bold.woff | Bin .../woff-v2/MathJax_Calligraphic-Regular.woff | Bin .../fonts/woff-v2/MathJax_Fraktur-Bold.woff | Bin .../woff-v2/MathJax_Fraktur-Regular.woff | Bin .../fonts/woff-v2/MathJax_Main-Bold.woff | Bin .../fonts/woff-v2/MathJax_Main-Italic.woff | Bin .../fonts/woff-v2/MathJax_Main-Regular.woff | Bin .../woff-v2/MathJax_Math-BoldItalic.woff | Bin .../fonts/woff-v2/MathJax_Math-Italic.woff | Bin .../fonts/woff-v2/MathJax_Math-Regular.woff | Bin .../fonts/woff-v2/MathJax_SansSerif-Bold.woff | Bin .../woff-v2/MathJax_SansSerif-Italic.woff | Bin .../woff-v2/MathJax_SansSerif-Regular.woff | Bin .../fonts/woff-v2/MathJax_Script-Regular.woff | Bin .../fonts/woff-v2/MathJax_Size1-Regular.woff | Bin .../fonts/woff-v2/MathJax_Size2-Regular.woff | Bin .../fonts/woff-v2/MathJax_Size3-Regular.woff | Bin .../fonts/woff-v2/MathJax_Size4-Regular.woff | Bin .../woff-v2/MathJax_Typewriter-Regular.woff | Bin .../fonts/woff-v2/MathJax_Vector-Bold.woff | Bin .../fonts/woff-v2/MathJax_Vector-Regular.woff | Bin .../chtml/fonts/woff-v2/MathJax_Zero.woff | Bin {html/es5 => libs/mathjax.es5}/output/svg.js | 0 .../mathjax.es5}/output/svg/fonts/tex.js | 0 {html/es5 => libs/mathjax.es5}/startup.js | 0 .../mathjax.es5}/tex-chtml-full-speech.js | 0 .../mathjax.es5}/tex-chtml-full.js | 0 {html/es5 => libs/mathjax.es5}/tex-chtml.js | 0 .../es5 => libs/mathjax.es5}/tex-mml-chtml.js | 0 {html/es5 => libs/mathjax.es5}/tex-mml-svg.js | 0 .../es5 => libs/mathjax.es5}/tex-svg-full.js | 0 {html/es5 => libs/mathjax.es5}/tex-svg.js | 0 {html/third => libs}/pinyin-pro.js | 0 marked.v4.3.0.min.js | 6 - web/pkg.md | 4 +- 160 files changed, 21396 insertions(+), 66 deletions(-) create mode 100644 articles/demo.md delete mode 100644 articles/others/markdown.md create mode 100644 libs/marked/fonts/KaTeX_AMS-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_AMS-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_AMS-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Bold.ttf create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Bold.woff create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Bold.woff2 create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Caligraphic-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Bold.ttf create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Bold.woff create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Bold.woff2 create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Fraktur-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Main-Bold.ttf create mode 100644 libs/marked/fonts/KaTeX_Main-Bold.woff create mode 100644 libs/marked/fonts/KaTeX_Main-Bold.woff2 create mode 100644 libs/marked/fonts/KaTeX_Main-BoldItalic.ttf create mode 100644 libs/marked/fonts/KaTeX_Main-BoldItalic.woff create mode 100644 libs/marked/fonts/KaTeX_Main-BoldItalic.woff2 create mode 100644 libs/marked/fonts/KaTeX_Main-Italic.ttf create mode 100644 libs/marked/fonts/KaTeX_Main-Italic.woff create mode 100644 libs/marked/fonts/KaTeX_Main-Italic.woff2 create mode 100644 libs/marked/fonts/KaTeX_Main-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Main-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Main-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Math-BoldItalic.ttf create mode 100644 libs/marked/fonts/KaTeX_Math-BoldItalic.woff create mode 100644 libs/marked/fonts/KaTeX_Math-BoldItalic.woff2 create mode 100644 libs/marked/fonts/KaTeX_Math-Italic.ttf create mode 100644 libs/marked/fonts/KaTeX_Math-Italic.woff create mode 100644 libs/marked/fonts/KaTeX_Math-Italic.woff2 create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Bold.ttf create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Bold.woff create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Bold.woff2 create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Italic.ttf create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Italic.woff create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Italic.woff2 create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_SansSerif-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Script-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Script-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Script-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Size1-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Size1-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Size1-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Size2-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Size2-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Size2-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Size3-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Size3-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Size3-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Size4-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Size4-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Size4-Regular.woff2 create mode 100644 libs/marked/fonts/KaTeX_Typewriter-Regular.ttf create mode 100644 libs/marked/fonts/KaTeX_Typewriter-Regular.woff create mode 100644 libs/marked/fonts/KaTeX_Typewriter-Regular.woff2 create mode 100644 libs/marked/katex.min.css create mode 100644 libs/marked/mj-marked.mjs rename {html/es5 => libs/mathjax.es5}/core.js (100%) rename {html/es5 => libs/mathjax.es5}/input/asciimath.js (100%) rename {html/es5 => libs/mathjax.es5}/input/mml.js (100%) rename {html/es5 => libs/mathjax.es5}/input/mml/entities.js (100%) rename {html/es5 => libs/mathjax.es5}/input/mml/extensions/mml3.js (100%) rename {html/es5 => libs/mathjax.es5}/input/mml/extensions/mml3.sef.json (100%) rename {html/es5 => libs/mathjax.es5}/input/tex-base.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex-full.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/action.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/all-packages.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/ams.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/amscd.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/autoload.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/bbox.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/boldsymbol.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/braket.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/bussproofs.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/cancel.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/cases.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/centernot.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/color.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/colortbl.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/colorv2.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/configmacros.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/empheq.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/enclose.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/extpfeil.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/gensymb.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/html.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/mathtools.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/mhchem.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/newcommand.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/noerrors.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/noundefined.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/physics.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/require.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/setoptions.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/tagformat.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/textcomp.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/textmacros.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/unicode.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/upgreek.js (100%) rename {html/es5 => libs/mathjax.es5}/input/tex/extensions/verb.js (100%) rename {html/es5 => libs/mathjax.es5}/latest.js (100%) rename {html/es5 => libs/mathjax.es5}/loader.js (100%) rename {html/es5 => libs/mathjax.es5}/mml-chtml.js (100%) rename {html/es5 => libs/mathjax.es5}/mml-svg.js (100%) rename {html/es5 => libs/mathjax.es5}/node-main.js (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml.js (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/tex.js (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/chtml/fonts/woff-v2/MathJax_Zero.woff (100%) rename {html/es5 => libs/mathjax.es5}/output/svg.js (100%) rename {html/es5 => libs/mathjax.es5}/output/svg/fonts/tex.js (100%) rename {html/es5 => libs/mathjax.es5}/startup.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-chtml-full-speech.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-chtml-full.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-chtml.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-mml-chtml.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-mml-svg.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-svg-full.js (100%) rename {html/es5 => libs/mathjax.es5}/tex-svg.js (100%) rename {html/third => libs}/pinyin-pro.js (100%) delete mode 100644 marked.v4.3.0.min.js diff --git a/articles/demo.md b/articles/demo.md new file mode 100644 index 0000000..381dea3 --- /dev/null +++ b/articles/demo.md @@ -0,0 +1,110 @@ +# markdown demo +> markdown渲染成HTML的插件 + + +```js +function func(a, b) { + return a + b +} +``` + +## [katex](https://katex.org/) + +- [js katex api ](https://katex.org/docs/api) +- [支持格式](https://katex.org/docs/support_table) + +$$ +a^2=b^2+c^2 +$$ + +This is inline katex: + +$ c = \\pm\\sqrt{ a^2 + b^2 } $ + +This is block level katex: + +$$ +c = \\pm\\sqrt{a^2 + b^2} +$$ + +$$ +\\begin{array}{cc} + a & b \\\\ + c & d +\\end{array} +$$ + +$$ +\\begin{array}{cc} +1 & 2 & 3 \\\\ +4 & 5 & 6 \\\\ +7 & 8 & 9 +\\end{array} +$$ + +[maths symbols for latex](https://mirrors.jlu.edu.cn/CTAN/info/symbols/math/maths-symbols.pdf) + +## [alert](https://github.com/bent10/marked-extensions/tree/main/packages/alert) +- [Enables GFM alerts](https://github.com/orgs/community/discussions/16925) + +> [!NOTE] +> Highlights information that users should take into account, even when skimming. + +> [!TIP] +> Optional information to help a user be more successful. + +> [!IMPORTANT] +> Crucial information necessary for users to succeed. + +> [!WARNING] +> Critical content demanding immediate user attention due to potential risks. + +> [!CAUTION] +> Negative potential consequences of an action. + +> **Note** +> This is a note + +> **Warning** +> This is a warning + +## table + +- **table one** + +| This header spans two || Header A | +| columns *and* two rows ^|| Header B | +|-------------|------------|----------| +| Cell A | Cell B | Cell C | + +- **table two** + +| H1 | H2 | +|--------------|---------| +| This cell | Cell A | +| spans three ^| Cell B | +| rows ^| Cell C | + +- table three + +| H1 | H2 | H3 | +|---------|---------|---------| +| This cell spans 3 columns ||| + +- table four + +| Syntax | Description | Test Text | +| :--- | :----: | ---: | +| Header | Title | Here's this | +| Paragraph | Text | And more | + + +## 其他 + +- [A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way一个所见即所得的 Markdown 桌面编辑器,集成了 Mermaid 图形与 Katex 公式,支持明亮和暗黑风格。](https://github.com/1943time/bluestone) + +[Marked Documentation](https://marked.js.org/) + +- [marked github](https://github.com/markedjs/marked) +- [demo可下载发布后的文件](https://marked.js.org/demo/) +- [marked插件 github](https://github.com/bent10/marked-extensions) \ No newline at end of file diff --git a/articles/others/markdown.md b/articles/others/markdown.md deleted file mode 100644 index 7091a0b..0000000 --- a/articles/others/markdown.md +++ /dev/null @@ -1,37 +0,0 @@ -# Markdown -## 矩阵 - -$$ -\begin{martix} -1 & 2 & 3 \\ -4 & 5 & 6 \\ -7 & 8 & 9 -\end{matrix} \tag{1} -$$ - -$$\left\{ -\begin{martix} -1 & 2 & 3 \\ -4 & 5 & 6 \\ -7 & 8 & 9 -\end{matrix} -\right\} \tag{2}$$ - -$\left 1 2 3 4 5 6 7 8 9 \right$ - -[maths symbols for latex](https://mirrors.jlu.edu.cn/CTAN/info/symbols/math/maths-symbols.pdf) - -[markdown library document](https://marked.js.org/) - -## table - -| Syntax | Description | Test Text | -| :--- | :----: | ---: | -| Header | Title | Here's this | -| Paragraph | Text | And more | - -## 其他 - -- [A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way一个所见即所得的 Markdown 桌面编辑器,集成了 Mermaid 图形与 Katex 公式,支持明亮和暗黑风格。](https://github.com/1943time/bluestone) - -# [Marked Documentation](https://marked.js.org/) \ No newline at end of file diff --git a/cpl/cplusplus.md b/cpl/cplusplus.md index a1e3227..b72324f 100644 --- a/cpl/cplusplus.md +++ b/cpl/cplusplus.md @@ -283,6 +283,7 @@ base + sizeof * 偏移量,数组指针好像就是这样的,用*(a+b)访 - [Software optimization resources,涉及很多底层的技术和文档,值得去看看](https://www.agner.org/optimize/#manuals) - [Calling conventions for different C++ compilers and operating systems](https://www.agner.org/optimize/calling_conventions.pdf),更新到2023年的技术 - [微软出品C++下一代的多态Proxy: Next Generation Polymorphism in C++](https://github.com/microsoft/proxy) +- [反射库refl-cpp is a header-only library which provides compile-time reflection and introspection capabilities to C++](https://github.com/veselink1/refl-cpp) ### 工具 diff --git a/cpl/js/regularExpressions.js b/cpl/js/regularExpressions.js index 5c91705..5505746 100644 --- a/cpl/js/regularExpressions.js +++ b/cpl/js/regularExpressions.js @@ -13,22 +13,26 @@ const re4 = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i; * @deprecated RegExp.$1这种方式已经废弃了 */ const re4a = /(\w+)@(\w+)\.(\w+)(\.\w+)?/i; +// 匹配特殊字符 +const re5 = /[$]+/g; // 匹配一次 +const re5a = /[$]{2,4}/g; // 匹配一次 +const re5b = /\$\${2,}/g; // 匹配一次 // let str1 = 'abc123'; // console.log(1, 'match', '1', str1.match(re1), '2', str1.match(re2)); // console.log(2, 'replace', '1', str1.replace(re1,''), '2', str1.replace(re2, '')); -let str3 = '我得数字1', str3a = '11汉字', str3b = '11汉字aa', str3c = 'bb11汉字aa'; -console.log(3, re3.test(str3), str3.match(re3), re3.test(str3a), str3a.match(re3)) -if (re3a.test(str3)) { - console.log(3, RegExp.$1, RegExp.$2); -} -if (re3a.test(str3a)) { - console.log('3a',RegExp.$1, RegExp.$2); -} -console.log('3b', str3.replace(re3b, ''), str3a.replace(re3b,'')); -console.log('3b', str3b.replace(re3c, ''), str3b.replace(re3c,'')); -console.log('3b', str3c.replace(re3c, ''), str3c.replace(re3c,'')); +// let str3 = '我得数字1', str3a = '11汉字', str3b = '11汉字aa', str3c = 'bb11汉字aa'; +// console.log(3, re3.test(str3), str3.match(re3), re3.test(str3a), str3a.match(re3)) +// if (re3a.test(str3)) { +// console.log(3, RegExp.$1, RegExp.$2); +// } +// if (re3a.test(str3a)) { +// console.log('3a',RegExp.$1, RegExp.$2); +// } +// console.log('3b', str3.replace(re3b, ''), str3a.replace(re3b,'')); +// console.log('3b', str3b.replace(re3c, ''), str3b.replace(re3c,'')); +// console.log('3b', str3c.replace(re3c, ''), str3c.replace(re3c,'')); // let str4 = 'a@b.com', str4a = 'a.b.com'; // console.log(4, str4.match(re4), str4a.match(re4)); @@ -37,4 +41,12 @@ console.log('3b', str3c.replace(re3c, ''), str3c.replace(re3c,'')); // } // if (re4a.test(str4a)) { // console.log('4a2', RegExp.$1, RegExp.$2, RegExp.$3); -// } \ No newline at end of file +// } + +let str5 = '$a=b+c$', str5a = `$$ +a = b + c; +$$`; +console.log(5, re5.test(str5), re5a.test(str5), re5b.test(str5)); +console.log('5a', re5.test(str5a), re5a.test(str5a), re5b.test(str5a)); +console.log('5b', str5.match(re5), str5.match(re5a), str5.match(re5b)); +console.log('5b1', str5a.match(re5), str5a.match(re5a), str5a.match(re5b)); \ No newline at end of file diff --git a/dev-note/index.md b/dev-note/index.md index 083d866..091db1b 100644 --- a/dev-note/index.md +++ b/dev-note/index.md @@ -1,5 +1,6 @@ # dev-note +- [nodejs包管理](/web/pkg.md) - [git](/dev-note/git.md) - [cmake](/dev-note/cmake.md) - [linux](/dev-note/linux.md) @@ -11,7 +12,6 @@ - [build System](/dev-note/buildSystem.md) - [debug](/dev-note/debug.md) - [powershell](/dev-note/powershell.md) -- [nodejs包管理](/web/pkg.md) - [包管理C++](/dev-note/pkg.md) - [maven](/dev-note/maven.md) diff --git a/html/mathjax.config.js b/html/mathjax.config.js index 6e98efc..61cd6bd 100644 --- a/html/mathjax.config.js +++ b/html/mathjax.config.js @@ -21,7 +21,7 @@ window.MathJax = { (function () { var script = document.createElement('script'); script.id = 'MathJax-script'; - script.src = './es5/tex-chtml-full.js'; + script.src = '../libs/mathjax.es5/tex-chtml-full.js'; script.async = true; document.head.appendChild(script); })(); \ No newline at end of file diff --git a/html/pinyin.html b/html/pinyin.html index 41e6997..60323a1 100644 --- a/html/pinyin.html +++ b/html/pinyin.html @@ -3,7 +3,7 @@ Depth to View - +