Commit Graph

16 Commits

Author SHA1 Message Date
Sidharth Vinod b8470a471b
chore: Add docs 2023-12-08 09:57:08 +05:30
Sidharth Vinod 8873ffca12
chore: Overload parse type to be more specific.
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-12-08 09:37:46 +05:30
Sidharth Vinod 479188bc40
refactor: Change return type to retain partial backwards compatibility. 2023-12-06 22:23:37 +05:30
Sidharth Vinod c3c7ccd78a
feat: Add diagramType to RenderResult and ParseResult #5117 2023-12-06 21:11:07 +05:30
Aakansha Doshi dff13439f6 review fixes 2023-11-06 12:17:43 +05:30
Sidharth Vinod 5ff308f0c6
Merge branch 'develop' into sidv/4818_supportClassDefsExternally
* develop:
  Remove unnecessary tests
  chore: Add deprecation notices, improve types
  chore: Cleanup gitGraph tests
  refactor: Move setWrap to individual diagrams as necessary.
  refactor: Remove directives from grammar
  refactor: Update DBs to remove directive handling
  refactor: Move directive processing before parsing
2023-09-07 12:43:18 +05:30
Sidharth Vinod 38123d2f21
fix: #4818 support `getClasses` in external diagrams. 2023-09-07 12:01:22 +05:30
Sidharth Vinod 276fd7ad84
refactor: Move directive processing before parsing
Directives and fronmatter will be preprocessed
and removed from the text before parsing.
2023-08-25 12:54:44 +05:30
sidharthv96 fd35a54735 Update docs 2023-08-21 06:43:15 +00:00
Yokozuna59 b11c511c5c remove unnecessary `@ts-ignore` and `@ts-nocheck` 2023-06-12 13:27:40 +03:00
Knut Sveidqvist 99f65813a1 Syntax for markdown strings is a single backtick. 2023-04-03 10:43:15 +02:00
Sidharth Vinod 68cdc759a7
Minor cleanup
Co-authored-by: Per Brolin <per@mermaidchart.com>
2023-02-20 17:53:07 +05:30
sidharthv96 83f3ceb7f5 Update docs 2023-02-19 10:43:49 +00:00
Sidharth Vinod 4ea7294eeb
fix(#3406, #3394): Remove init & initThrowsErrors
New run function added as replacement.
2023-02-19 16:10:08 +05:30
Sidharth Vinod 8c64a90721
Fix docs 2023-02-19 14:21:15 +05:30
Sidharth Vinod eaa84d2d91
feat: Break render and parse types
Both render and parse are async now.
Return type of render contains svg and bindFunctions.
Parse will not throw error if parseOptions.silent is passed.
2023-02-19 13:08:13 +05:30