Sidharth Vinod
bd1789c54b
Merge branch 'next' into sidv/tinyMermaid
...
* next: (562 commits)
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
Fix applitools
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Cleanup e2e.yml
Ignore push events on merge queue
Remove ::
Remove ::
...
2024-01-24 09:25:52 +05:30
Sidharth Vinod
b9bc518a0a
chore: Add docs
2023-12-08 10:06:36 +05:30
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
ad1992
18bc2af570
Update docs
2023-11-28 03:38:09 +00:00
Aakansha Doshi
dff13439f6
review fixes
2023-11-06 12:17:43 +05:30
Sidharth Vinod
87b0025691
Merge branch 'develop' into sidv/tinyMermaid
...
* develop: (189 commits)
Remove unnecessary tests
Remove optional chaining
chore: Update docs
refactor: Use `||` instead of `??`
Update flowchart.md (#4798 )
Update flowchart.md (#4792 )
core: Adapt changes from 3f7bafb2d7
Update cypress/helpers/util.js
chore: Update docs
chore: Add deprecation notices, improve types
chore: Cleanup gitGraph tests
chore: Fix unit tests
chore(deps): update all patch dependencies
chore: Update docs
Update docs
New Mermaid Live Editor for Confluence Cloud (#4814 )
Update link to Discourse theme component (#4811 )
Update flowchart.md (#4810 )
chore: remove unneeded `CommomDB`
chore: Update docs
...
2023-09-08 16:32:53 +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
ef95919691
refactor: Remove unused variables
2023-09-07 12:40:56 +05:30
Sidharth Vinod
38123d2f21
fix : #4818 support getClasses
in external diagrams.
2023-09-07 12:01:22 +05:30
Sidharth Vinod
18079a44be
chore: Add deprecation notices, improve types
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-06 22:06:05 +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
Sidharth Vinod
91b7d4234e
chore: Highlight if tiny version is used in error and info.
2023-08-14 14:31:07 +05:30
Sidharth Vinod
da8112afa5
Merge branch 'develop' into sidv/fixTripleParsing
...
* develop: (59 commits)
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
Add underscore to unit test on special Chars
Revert to old docs concerning quotations marks in string
Refactor unit tests and remove repetition
Correct idStringToken definition to include all individual special tokens
Add unit tests for node ids with special Chars
Create lychee.toml
create `selectSvgElement`
change `svgElem` to `SVG` in `configureSvgSize`
add `configureSvgSize` in infoRenderer
run docs:build
remove info sandbox test case
Remove replaceAll method in addLink
Modify HREF token regex to contain space
Add unit tests for stange node names
Remove escaped quotes with backslash feature
...
2023-08-08 13:37:02 +05:30
Sidharth Vinod
4471001ef2
chore: remove comment
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-08 00:24:38 +05:30
Reda Al Sulais
b99eb8b624
run docs:build
2023-08-02 16:30:55 +03:00
Yokozuna59
b11c38ea00
run docs:build to fix linting issue
2023-06-27 21:25:55 +03:00
Yokozuna59
99da3d7cd5
validate that height
in putInfoIframe
is defined
2023-06-20 17:49:07 +03:00
Yokozuna59
b11c511c5c
remove unnecessary @ts-ignore
and @ts-nocheck
2023-06-12 13:27:40 +03:00
Knut Sveidqvist
55092f532f
#4446 Improved regular expression
2023-06-01 17:39:54 +02:00
Sidharth Vinod
4d3e5e42e1
Use mdast-util-from-markdown instead of simple-markdown
2023-04-26 10:30:13 +05:30
Laura Valentine Tscharner
9bb0cef82b
fix: wait for image rendering in nodes
2023-04-08 16:28:58 +01:00
knsv
c777f9193d
Update docs
2023-04-03 10:35:19 +00:00
Knut Sveidqvist
917a54f3cd
Merge branch 'develop' into 4220-string-synax-and-features
2023-04-03 12:31:56 +02:00
Knut Sveidqvist
99f65813a1
Syntax for markdown strings is a single backtick.
2023-04-03 10:43:15 +02:00
knsv
f9c0f1d46f
Update docs
2023-03-31 06:46:34 +00:00
Knut Sveidqvist
057c9e4b81
Merge branch 'develop' into feature/1618_repeating_tasks
2023-03-31 08:42:10 +02:00
Sidharth Vinod
48d267c6dc
fix( #4137 ): Cleanup comments before parsing
2023-03-30 22:08:50 +05:30
Jeremy Funk
15af3ea585
Update docs
2023-03-29 23:53:12 +02:00
Knut Sveidqvist
cbc2df1ff6
Merge branch 'develop' into feature/1618_repeating_tasks
2023-03-29 09:23:18 +02:00
Kshitij
e3760d1709
Fixed regex bug
2023-03-25 20:13:30 +05:30
Kshitij
0475591fb6
Updated render to remove comments from text
2023-03-25 15:46:52 +05:30
Jeremy Funk
ba1c5dc6c7
Change to using display mode yaml
2023-03-25 01:56:50 +01:00
Jeremy Funk
8c0550b2b7
Code refactoring, add e2e test
2023-03-23 23:45:59 +01:00
Sidharth Vinod
1913aad03f
Merge branch 'develop' into sidv/fix/1066
...
* develop:
fix(deps): update all non-major dependencies
chore(deps): update all non-major dependencies
Update Diagram.ts
Update Diagram.ts
feat: added internal label
feat: improve documentation
make clearer
fix: invalid url and generate docs
Update integrations.md to include Mermaid Flow
feat: expose the diagram api
fixup! fixup! Move pie outerStrokeWidth to theme variables, update docs
fixup! Move pie outerStrokeWidth to theme variables, update docs
Move pie outerStrokeWidth to theme variables, update docs
fixup! fixup! feat(pie): adding outer border, text position options
fixup! feat(pie): adding outer border, text position options
Update packages/mermaid/src/diagrams/pie/pieRenderer.js
feat(pie): adding outer border, text position options
2023-03-06 14:04:00 +05:30
sidharthv96
f7f6cc73f5
Update docs
2023-03-05 05:52:51 +00:00
Sidharth Vinod
43762c4d7f
fix( #1066 ): Return true if parse is success.
2023-03-05 00:22:02 +05:30
Ted Marozzi
51c6462f1d
feat: expose the diagram api
2023-03-02 19:17:14 +11:00
knsv
3a56af9633
Update docs
2023-02-28 12:24:04 +00:00
Knut Sveidqvist
fda0c8d0a9
Merge branch 'develop' into sidv/fix4157
2023-02-28 13:20:37 +01:00
Sidharth Vinod
733967f65a
fix #4157 : Inject only fontFamily without replacing themeVariables
2023-02-28 16:55:25 +05:30
Sidharth Vinod
0206ff540a
fix( #4140 ): Deprecate mermaidAPI.render
2023-02-24 12:20:31 +05:30
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