\documentclass{article}
\usepackage[hashEnumerators, smartEllipses]{markdown}
\begin{document}
\begin{markdown}
# h1
## h2
-----
`\texttt`
> this is xxx.
1. xxxx
- sasdasd
- bbbb
2. xxx
3. xxx
- sasdasd
- adasd
\end{markdown}
\end{document}
如图所示texstudio的命令配置

如图所示编译命令
如下所示日志:
This is LuaHBTeX, Version 1.22.0 (TeX Live 2025) (format=lualatex 2025.4.4) 7 APR 2025 22:24
system commands enabled.
**document.tex
(./document.tex
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
Lua module: luaotfload 2024-12-03 v3.29 Lua based OpenType font support
Lua module: lualibs 2023-07-13 v2.76 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2023-07-13 v2.76 ConTeXt Lua libraries -- extended
collection.
luaotfload | conf : Root cache directory is "C:/Users/Lenovo/.texlive2025/texmf-
var/luatex-cache/generic/names".
luaotfload | init : Loading fontloader "fontloader-2023-12-28.lua" from kpse-res
olved path "d:/latex/texlive/2025/texmf-dist/tex/luatex/luaotfload/fontloader-20
23-12-28.lua".
Lua-only attribute luaotfload@noligature = 1
luaotfload | init : Context OpenType loader version 3.134
Inserting
luaotfload.node_processor' in
pre_linebreak_filter'.Inserting
luaotfload.node_processor' in
hpack_filter'.Inserting
luaotfload.glyph_stream' in
glyph_stream_provider'.Inserting
luaotfload.define_font' in
define_font'.Lua-only attribute luaotfload_color_attribute = 2
luaotfload | conf : Root cache directory is "C:/Users/Lenovo/.texlive2025/texmf-
var/luatex-cache/generic/names".
Inserting
luaotfload.harf.strip_prefix' in
find_opentype_file'.Inserting
luaotfload.harf.strip_prefix' in
find_truetype_file'.Removing
luaotfload.glyph_stream' from
glyph_stream_provider'.Inserting
luaotfload.harf.glyphstream' in
glyph_stream_provider'.Inserting
luaotfload.harf.finalize_vlist' in
post_linebreak_filter'.Inserting
luaotfload.harf.finalize_hlist' in
hpack_filter'.Inserting
luaotfload.cleanup_files' in
wrapup_run'.Inserting
luaotfload.harf.finalize_unicode' in
finish_pdffile'.Inserting
luaotfload.glyphinfo' in
glyph_info'.Lua-only attribute luaotfload.letterspace_done = 3
Inserting
luaotfload.aux.set_sscale_dimens' in
luaotfload.patch_font'.Inserting
luaotfload.aux.set_font_index' in
luaotfload.patch_font'.Inserting
luaotfload.aux.patch_cambria_domh' in
luaotfload.patch_font'.Inserting
luaotfload.aux.fixup_fontdata' in
luaotfload.patch_font_unsafe'.Inserting
luaotfload.aux.set_capheight' in
luaotfload.patch_font'.Inserting
luaotfload.aux.set_xheight' in
luaotfload.patch_font'.Inserting
luaotfload.rewrite_fontname' in
luaotfload.patch_font'.Inserting
tracingstacklevels' in
input_level_string'. (d:/latex/texlive/2025/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(d:/latex/texlive/2025/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2024/06/29 v1.4n Standard LaTeX file (size option)
luaotfload | db : Font names database loaded from C:/Users/Lenovo/.texlive2025/t
exmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz)
c@part=count194
c@section=count195
c@subsection=count196
c@subsubsection=count197
c@paragraph=count198
c@subparagraph=count199
c@figure=count266
c@table=count267
abovecaptionskip=skip49
belowcaptionskip=skip50
bibindent=dimen140
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/markdown/markdown.sty
(d:/latex/texlive/2025/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2025-01-18 L3 programming layer (loader)
(d:/latex/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
File: l3backend-luatex.def 2024-05-08 L3 backend support: PDF output (LuaTeX)
l__color_backend_stack_int=count268
Inserting
l3color' in
luaotfload.parse_color'.l__pdf_internal_box=box52
))
(d:/latex/texlive/2025/texmf-dist/tex/generic/markdown/markdown.tex
(d:/latex/texlive/2025/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
g_luabridge_method_int=count269
Package luabridge Info: Using direct Lua access as the bridging method
)
markdownInputFileStream=read2
markdownOutputFileStream=write3
)
markdownOptionFrozenCacheCounter=count270
Package: markdown 2025-03-30 v3.11.1-0-gb7315ecf markdown renderer
)
Package markdown Info: Loading version latest of LaTeX Markdown theme
(markdown) witiko/markdown/defaults
(d:/latex/texlive/2025/texmf-dist/tex/latex/markdown/markdownthemewitiko_markdo
wn_defaults.sty
Package markdown Info: Loading version latest of plain TeX Markdown theme
(markdown) witiko/markdown/defaults
(d:/latex/texlive/2025/texmf-dist/tex/generic/markdown/markdownthemewitiko_mark
down_defaults.tex)
(d:/latex/texlive/2025/texmf-dist/tex/latex/paralist/paralist.sty
Package: paralist 2017/01/22 v2.7 Extended list environments
pltopsep=skip51
plpartopsep=skip52
plitemsep=skip53
plparsep=skip54
pl@lab=toks17
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2024/11/05 v2.17t AMS math features
@mathmargin=skip55
For additional information on amsmath, use the `?' option.
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
@emptytoks=toks18
ex@=dimen141
))
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
pmbraise@=dimen142
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2022/04/08 v2.04 operator names
)
inf@bad=count271
LaTeX Info: Redefining frac on input line 235.
uproot@=count272
leftroot@=count273
LaTeX Info: Redefining overline on input line 398.
LaTeX Info: Redefining colon on input line 409.
classnum@=count274
DOTSCASE@=count275
LaTeX Info: Redefining ldots on input line 495.
LaTeX Info: Redefining dots on input line 498.
LaTeX Info: Redefining cdots on input line 619.
Mathstrutbox@=box53
strutbox@=box54
LaTeX Info: Redefining big on input line 721.
LaTeX Info: Redefining Big on input line 722.
LaTeX Info: Redefining bigg on input line 723.
LaTeX Info: Redefining Bigg on input line 724.
big@size=dimen143
LaTeX Font Info: Redeclaring font encoding OML on input line 742.
LaTeX Font Info: Redeclaring font encoding OMS on input line 743.
macc@depth=count276
LaTeX Info: Redefining bmod on input line 904.
LaTeX Info: Redefining pmod on input line 909.
LaTeX Info: Redefining smash on input line 939.
LaTeX Info: Redefining relbar on input line 969.
LaTeX Info: Redefining Relbar on input line 970.
c@MaxMatrixCols=count277
dotsspace@=muskip17
c@parentequation=count278
dspbrk@lvl=count279
tag@help=toks19
row@=count280
column@=count281
maxfields@=count282
andhelp@=toks20
eqnshift@=dimen144
alignsep@=dimen145
tagshift@=dimen146
tagwidth@=dimen147
totwidth@=dimen148
lineht@=dimen149
@envbody=toks21
multlinegap=skip56
multlinetaggap=skip57
mathdisplay@stack=toks22
LaTeX Info: Redefining [ on input line 2953.
LaTeX Info: Redefining ] on input line 2954.
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
(d:/latex/texlive/2025/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
symAMSa=mathgroup4
symAMSb=mathgroup5
LaTeX Font Info: Redeclaring math symbol hbar on input line 98.
LaTeX Font Info: Overwriting math alphabet
\mathfrak' in version
bold'(Font) U/euf/m/n --> U/euf/b/n on input line 106.
))
(d:/latex/texlive/2025/texmf-dist/tex/latex/csvsimple/csvsimple.sty
Package: csvsimple 2024/09/27 v2.7.0 LaTeX CSV file processing
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty
Package: csvsimple-legacy 2024/09/27 version 2.7.0 LaTeX2e CSV file processing
(d:/latex/texlive/2025/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
pgfutil@everybye=toks23
pgfutil@tempdima=dimen150
pgfutil@tempdimb=dimen151
) (d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
pgfutil@abb=box55
) (d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/pgf.revision.tex)
Package: pgfrcs 2023-01-15 v3.1.10 (3.1.10)
))
(d:/latex/texlive/2025/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
pgfkeys@pathtoks=toks24
pgfkeys@temptoks=toks25
(d:/latex/texlive/2025/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfilte
red.code.tex
pgfkeys@tmptoks=toks26
))) (d:/latex/texlive/2025/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2024/03/16 v1.1e Standard LaTeX ifthen package (DPC)
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2025/02/11 v2.5l e-TeX tools for LaTeX (JAW)
etb@tempcnta=count283
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/tools/shellesc.sty
Package: shellesc 2023/07/08 v1.0d unified shell escape interface for LaTeX
Package shellesc Info: Unrestricted shell escape enabled on input line 75.
)
csv@file=read3
c@csvinputline=count284
c@csvrow=count285
c@csvcol=count286
csv@out=write4
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2024/01/20 4.5c verbatim text (tvz,hv)
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
KV@toks@=toks27
)
FV@CodeLineNo=count287
FV@InFile=read4
FV@TabBox=box56
c@FancyVerbLine=count288
FV@StepNumber=count289
FV@OutFile=write5
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2024/08/06 v1.4g Standard LaTeX Graphics (DPC,SPQR)
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2023/12/02 v1.11 sin cos tan (DPC)
)
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: luatex.def on input line 106.
(d:/latex/texlive/2025/texmf-dist/tex/latex/graphics-def/luatex.def
File: luatex.def 2024/04/13 v1.2e Graphics/color driver for luatex
))
Gin@req@height=dimen152
Gin@req@width=dimen153
)
(d:/latex/texlive/2025/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2023-12-04 v1.26 LaTeX kernel commands for general use (HO)
)
markdownLaTeXCitationsCounter=count290
(d:/latex/texlive/2025/texmf-dist/tex/latex/url/url.sty
Urlmuskip=muskip18
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
markdownLaTeXRowCounter=count291
markdownLaTeXRowTotal=count292
markdownLaTeXColumnCounter=count293
markdownLaTeXColumnTotal=count294
markdownLaTeXTable=toks28
markdownLaTeXTableAlignment=toks29
markdownLaTeXTableEnd=toks30
) (./document.aux)
openout1 = document.aux
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
(d:/latex/texlive/2025/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count295
scratchdimen=dimen154
scratchbox=box57
nofMPsegments=count296
nofMParguments=count297
everyMPshowfont=toks31
MPscratchCnt=count298
MPscratchDim=dimen155
MPnumerator=count299
makeMPintoPDFobject=count300
everyMPtoPDFconversion=toks32
) (d:/latex/texlive/2025/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
85.
(d:/latex/texlive/2025/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
openout3 = document.markdown.in
Package markdown Info: Buffering block-level markdown input into the temporary
(markdown) input file "document.markdown.in" and scanning for the
(markdown) closing token sequence "end{markdown}"
Package markdown Info: The ending token sequence was found
Package markdown Info: Including markdown document "./document.markdown.in"
(./_markdown_document/cad44d4c354bc6a1e2d9fcfc04ce00f3.md.tex)
[1
{d:/latex/texlive/2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./document.aux)
*
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
*
)
Here is how much of LuaTeX's memory you used:
6423 strings out of 475506
100000,953878 words of node,token memory allocated
504 words of node memory still in use:
6 hlist, 2 vlist, 2 rule, 2 glue, 4 kern, 1 glyph, 6 attribute, 56 glue_spec,
6 attribute_list, 1 write nodes
avail lists: 2:194,3:58,4:2,5:122,6:2,7:1212,9:132,11:6
29309 multiletter control sequences out of 65536+600000
16 fonts using 849519 bytes
99i,5n,118p,324b,253s stack positions out of 10000i,1000n,20000p,200000b,200000s
<d:/latex/texlive/2025/texmf-dist/fonts/opentype/public/lm/lmmono10-regular.otf>
<d:/latex/texlive/2025/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf
PDF statistics: 22 PDF objects out of 1000 (max. 8388607)
12 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 100000000)