mdts 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -11
- package/dist/cli.js +8 -2
- package/dist/frontend/bundle.js +5774 -5604
- package/dist/frontend/markdown.css +10 -4
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_architecture-O4VJ6CD3_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_architecture-U656AL7Q_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_gitGraph-ZV4HHKMB_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_gitGraph-F6HP7TQM_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_info-63CPKGFF_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_info-NVLQJR56_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_packet-HUATNLJX_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_packet-BFZMPI3H_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_pie-WTHONI2E_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_pie-7BOR55EZ_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_radar-NJJJXTRR_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_radar-NHE76QYJ_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_treemap-75Q7IDZK_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_treemap-KMMF4GRG_mjs.bundle.js} +6 -6
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-2ON5EDUG_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-WZHVMYZB_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-S2PKOQOG_mjs.bundle.js +32 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-WHAUD3N6_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-ADFJNKIX_mjs.bundle.js +32 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-4FDKWEC3_mjs.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter/refractor-core-import.bundle.js +62 -376
- package/dist/frontend/react-syntax-highlighter_languages_refractor_abap.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_abnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_actionscript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ada.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_agda.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_al.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_antlr4.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apacheconf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apex.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_applescript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_aql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arduino.bundle.js +22 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arff.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_armasm.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arturo.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asciidoc.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asm6502.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asmatmel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_aspnet.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_autohotkey.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_autoit.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_avisynth.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_avroIdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_awk.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bash.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_basic.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_batch.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bbcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bbj.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bicep.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_birb.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bison.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bqn.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_brainfuck.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_brightscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bro.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bsl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_c.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cfscript.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_chaiscript.bundle.js +22 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cil.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cilkc.bundle.js +42 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cilkcpp.bundle.js +52 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_clike.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_clojure.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cmake.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cobol.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_coffeescript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_concurnas.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cooklang.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_coq.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cpp.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_crystal.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cshtml.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_css.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cssExtras.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csv.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cue.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cypher.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_d.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dart.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dataweave.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dax.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dhall.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_diff.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_django.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dnsZoneFile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_docker.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dot.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ebnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_editorconfig.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_eiffel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ejs.bundle.js +21 -11
- package/dist/frontend/react-syntax-highlighter_languages_refractor_elixir.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_elm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_erb.bundle.js +18 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_erlang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_etlua.bundle.js +8 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_excelFormula.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_factor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_falselang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_firestoreSecurityRules.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_flow.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_fortran.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_fsharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ftl.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gap.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gdscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gedcom.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gettext.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gherkin.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_git.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_glsl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gml.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gn.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_go.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_goModule.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gradle.bundle.js +32 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_graphql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_groovy.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haml.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_handlebars.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haskell.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haxe.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hcl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hlsl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hoon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hpkp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hsts.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_http.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ichigojam.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_icon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_icuMessageFormat.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_idris.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_iecst.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ignore.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_inform7.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ini.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_io.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_j.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_java.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javadoc.bundle.js +32 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javadoclike.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javascript.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javastacktrace.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jexl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jolie.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jq.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsExtras.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsTemplates.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsdoc.bundle.js +8 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_json.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_json5.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsonp.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsstacktrace.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsx.bundle.js +17 -7
- package/dist/frontend/react-syntax-highlighter_languages_refractor_julia.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_keepalived.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_keyman.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kotlin.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kumir.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kusto.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_latex.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_latte.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_less.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lilypond.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_linkerScript.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_liquid.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lisp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_livescript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_llvm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_log.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lolcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lua.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_magma.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_makefile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markdown.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markup.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markupTemplating.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mata.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_matlab.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_maxscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mermaid.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_metafont.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mizar.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mongodb.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_monkey.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_moonscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_n1ql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_n4js.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nand2tetrisHdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_naniscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_neon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nevod.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nginx.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nim.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nix.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nsis.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_objectivec.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ocaml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_odin.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_opencl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_openqasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_oz.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_parigp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_parser.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pascal.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pascaligo.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pcaxis.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_peoplecode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_perl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_php.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_phpExtras.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_phpdoc.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_plantUml.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_plsql.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_powerquery.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_powershell.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_processing.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_prolog.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_promql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_properties.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_protobuf.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_psl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pug.bundle.js +34 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_puppet.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pure.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_purebasic.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_purescript.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_python.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_q.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qml.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qore.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qsharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_r.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_racket.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_reason.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_regex.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rego.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_renpy.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rescript.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rest.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rip.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_roboconf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_robotframework.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ruby.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rust.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sas.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sass.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scala.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scheme.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scss.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_shellSession.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smali.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smalltalk.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smarty.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_solidity.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_solutionFile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_soy.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sparql.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_splunkSpl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sqf.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_squirrel.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stan.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stata.bundle.js +62 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stylus.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_supercollider.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_swift.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_systemd.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Cs.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Templating.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Vb.bundle.js +16 -16
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tap.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tcl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_textile.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_toml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tremor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tsx.bundle.js +4 -24
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tt2.bundle.js +11 -11
- package/dist/frontend/react-syntax-highlighter_languages_refractor_turtle.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_twig.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_typescript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_typoscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_unrealscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_uorazor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_uri.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_v.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vala.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vbnet.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_velocity.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_verilog.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vhdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vim.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_visualBasic.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_warpscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_webIdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wgsl.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wiki.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wolfram.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wren.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xeora.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xmlDoc.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xojo.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xquery.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_yaml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_yang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_zig.bundle.js +4 -4
- package/dist/frontend/vendors-node_modules_cytoscape_dist_cytoscape_esm_mjs.bundle.js +4 -4
- package/dist/frontend/vendors-node_modules_dagre-d3-es_src_dagre_index_js.bundle.js +203 -203
- package/dist/frontend/vendors-node_modules_dagre-d3-es_src_graphlib_index_js.bundle.js +9 -9
- package/dist/frontend/vendors-node_modules_lodash-es__baseClone_js-node_modules_lodash-es__baseFlatten_js-node_modu-64f2a5.bundle.js +252 -252
- package/dist/frontend/vendors-node_modules_lodash-es__basePickBy_js-node_modules_lodash-es__hasUnicode_js-node_modu-b1bc3b.bundle.js +66 -66
- package/dist/frontend/vendors-node_modules_mermaid-js_parser_dist_mermaid-parser_core_mjs.bundle.js +490 -490
- package/dist/frontend/{vendors-node_modules_mermaid_dist_chunks_mermaid_core_architectureDiagram-SUXI7LT5_mjs.bundle.js → vendors-node_modules_mermaid_dist_chunks_mermaid_core_architectureDiagram-VXUJARFQ_mjs.bundle.js} +20 -31
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-VD42YOAC_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-YG6GDRKO_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-B4BG7PRW_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-DI55MBZ5_mjs.bundle.js +42 -0
- package/dist/frontend/{vendors-node_modules_mermaid_dist_chunks_mermaid_core_mindmap-definition-6CBA2TL7_mjs.bundle.js → vendors-node_modules_mermaid_dist_chunks_mermaid_core_cose-bilkent-S5V4N54A_mjs.bundle.js} +17 -17
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_dagre-6UL2VRFP_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-PSM6KHXK_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-QEK2KX5R_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-Q2GNP2WA_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-NV44I4VS_mjs.bundle.js +62 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_ganttDiagram-JELNMOA3_mjs.bundle.js +62 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-NY62KEGX_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-XKPGCS4Q_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-3W4ZIXB7_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_mindmap-definition-VGOIOE7T_mjs.bundle.js +102 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-AYHSOK5B_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_requirementDiagram-UZGBJVZJ_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-TZEHDZUN_mjs.bundle.js +162 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-WL72ISMW_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-FKZM4ZOC_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_timeline-definition-IT6M3QCI_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-PRI3JC2R_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_refractor_lang_jsx_js.bundle.js +32 -0
- package/dist/server/public/welcome-demo.md +76 -0
- package/dist/server/public/welcome.md +21 -11
- package/dist/server/routes/plantuml.js +55 -0
- package/dist/server/server.js +5 -1
- package/package.json +10 -3
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-M3E45YP4_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-YAWTLIQI_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-5UYTHUR4_mjs.bundle.js +0 -32
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-LHK5PUON_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-NIOCPIFQ_mjs.bundle.js +0 -32
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-5AN5P6BG_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-6J76NXCF_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-6F6E4RAY_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-OW32GOEJ_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-SZ463SBG_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_dagre-JOIXM2OF_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-VMROVX33_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-ZTM2IBQH_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-3M52JZNH_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-KYDEHFYC_mjs.bundle.js +0 -62
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_ganttDiagram-EK5VF46D_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-GW3U2K7C_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-EWQZEKCU_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-ZSS6B67P_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-2OG54O6I_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_requirementDiagram-QOLK2EJ7_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-4UZDY2LN_mjs.bundle.js +0 -162
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-SKLFT4DO_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-MI5ZYTHO_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_timeline-definition-MYPXXCX6_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-H2YORKM3_mjs.bundle.js +0 -22
package/README.md
CHANGED
|
@@ -2,7 +2,17 @@
|
|
|
2
2
|
<img src="docs/images/logo.svg" alt="mdts" width="400">
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<p align="center">
|
|
6
|
+
A zero-config CLI tool to preview your local Markdown files in a browser.
|
|
7
|
+
<br>
|
|
8
|
+
<strong>npx mdts</strong> — and you're done.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://mdts-unhappychoice.netlify.app" target="_blank">
|
|
13
|
+
<strong>🔗 Try the Live Demo</strong>
|
|
14
|
+
</a>
|
|
15
|
+
</p>
|
|
6
16
|
|
|
7
17
|
<p align="center">
|
|
8
18
|
<img src="docs/images/screen_animation.gif" width="640" alt="mdts demo">
|
|
@@ -11,9 +21,10 @@
|
|
|
11
21
|
## 🔧 Features
|
|
12
22
|
|
|
13
23
|
- ⚡ **Instant Markdown Preview** – Run and view in seconds
|
|
14
|
-
- 🌐 **Web UI** – Clean, tree-based browser interface
|
|
24
|
+
- 🌐 **Web UI** – Clean, tree-based browser interface with three-panel layout
|
|
15
25
|
- 🔄 **Live Reload** – Automatically refreshes on file changes
|
|
16
|
-
- 🧘 **Zero Setup** – No config, no install, no nonsense
|
|
26
|
+
- 🧘 **Zero Setup** – No config, no install, no nonsense
|
|
27
|
+
- 🎨 **Custom Themes** – 20+ beautiful application themes and syntax highlighting options
|
|
17
28
|
|
|
18
29
|
|
|
19
30
|
## 🚀 Quick Start
|
|
@@ -31,6 +42,8 @@ Your current directory becomes a browsable Markdown tree.
|
|
|
31
42
|
- Quickly checking README or note folders
|
|
32
43
|
- Lightweight local Markdown wiki
|
|
33
44
|
|
|
45
|
+
See [detailed use cases](docs/usecases.md) for more examples and workflows.
|
|
46
|
+
|
|
34
47
|
## 📦 Requirements
|
|
35
48
|
|
|
36
49
|
- Node.js
|
|
@@ -42,19 +55,27 @@ Your current directory becomes a browsable Markdown tree.
|
|
|
42
55
|
npx mdts <directory> --host 0.0.0.0 --port 3000 --silent
|
|
43
56
|
```
|
|
44
57
|
|
|
45
|
-
| Option
|
|
46
|
-
|
|
|
47
|
-
| `<directory>`
|
|
48
|
-
| `--host`, `-H`
|
|
49
|
-
| `--port`, `-p`
|
|
50
|
-
| `--silent`, `-s`
|
|
58
|
+
| Option | Description | Example |
|
|
59
|
+
| ------------------- | ------------------------------------- |---------|
|
|
60
|
+
| `<directory>` | Directory to serve (default .) | ./docs |
|
|
61
|
+
| `--host`, `-H` | Host to listen on (default localhost) | 0.0.0.0 |
|
|
62
|
+
| `--port`, `-p` | Port to serve on (default 8521) | 8000 |
|
|
63
|
+
| `--silent`, `-s` | Suppress server logs (default false) | |
|
|
64
|
+
| `--version`, `-V` | Output version number | |
|
|
65
|
+
| `--help`, `-h` | Display help for command | |
|
|
51
66
|
|
|
52
67
|
## 📚 Documentation
|
|
53
68
|
|
|
69
|
+
### 🔗 [Live Demo](https://mdts-unhappychoice.netlify.app)
|
|
70
|
+
Experience mdts in action with real examples and interactive features.
|
|
71
|
+
|
|
72
|
+
### 📖 Documentation
|
|
54
73
|
- [Use Cases](docs/usecases.md)
|
|
55
|
-
- [Markdown Features](docs/markdown_features.md)
|
|
74
|
+
- [Markdown Features](docs/markdown_features.md)
|
|
56
75
|
- [Frontend Features](docs/frontend_features.md)
|
|
57
|
-
- [
|
|
76
|
+
- [Advanced Configuration](docs/configuration.md)
|
|
77
|
+
- [API Reference](docs/api.md)
|
|
78
|
+
- [Troubleshooting](docs/troubleshooting.md)
|
|
58
79
|
- [Comparison with other tools](docs/comparison.md)
|
|
59
80
|
- [FAQ](docs/faq.md)
|
|
60
81
|
|
package/dist/cli.js
CHANGED
|
@@ -23,6 +23,7 @@ class CLI {
|
|
|
23
23
|
.option('-H, --host <host>', 'Host to listen on', 'localhost')
|
|
24
24
|
.option('-p, --port <port>', 'Port to serve on', String(DEFAULT_PORT))
|
|
25
25
|
.option('-s, --silent', 'Suppress server logs', false)
|
|
26
|
+
.option('--no-open', 'Do not open the browser automatically')
|
|
26
27
|
.argument('[directory]', 'Directory to serve', DEFAULT_DIRECTORY)
|
|
27
28
|
.action((directory, options) => {
|
|
28
29
|
logger_1.logger.setSilent(options.silent);
|
|
@@ -37,8 +38,13 @@ class CLI {
|
|
|
37
38
|
const readmePath = path_1.default.join(absoluteDirectory, 'README.md');
|
|
38
39
|
const initialPath = (0, fs_1.existsSync)(readmePath) ? '/README.md' : '';
|
|
39
40
|
const displayHost = (host === '0.0.0.0' || host === '::') ? 'localhost' : host;
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
if (options.open) {
|
|
42
|
+
logger_1.logger.log('CLI', `🌐 Opening browser at http://${displayHost}:${port}${initialPath}`);
|
|
43
|
+
open(`http://${displayHost}:${port}${initialPath}`);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
logger_1.logger.log('CLI', `🌐 Server running at http://${displayHost}:${port}${initialPath}`);
|
|
47
|
+
}
|
|
42
48
|
});
|
|
43
49
|
program.parse(process.argv);
|
|
44
50
|
});
|