53 Commits

Author SHA1 Message Date
mmorel-35
1de7f3e14c chore: update browsers list 2022-03-07 07:04:04 +00:00
dkkb
6223d3c470
fix typos in doc (#2787) 2022-03-01 13:00:52 +01:00
Knut Sveidqvist
43854a2921 Merge branch 'master' into develop 2022-02-17 18:25:00 +01:00
Daniel Bartholomae
74b1219d62
fix(2689): use correct default sans-serif fonts for actors and tasks
The previous default font, Open-Sans, does not exist (it is Open Sans).
A generic font family must not be in quotes.
There is no changes to tests, as tests set font-family to Courier
for reproducability.

Fixes 2689
See https://fonts.google.com/specimen/Open+Sans
and https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
2022-02-15 14:21:04 +01:00
Knut Sveidqvist
eeccf1c56b fix: handling rerender in sandbox mode fixing tests 2022-01-22 13:29:54 +01:00
MOREL Matthieu
5b8a4a0b7a fix conf table display 2021-11-15 09:58:47 +01:00
Yash-Singh1
2368ba4914 Merge github.com:mermaid-js/mermaid into eslint-fix 2021-11-11 10:31:08 -08:00
Knut Sveidqvist
0db5f9fea7
Merge branch 'develop' into develop 2021-11-11 19:09:12 +01:00
Matthieu MOREL
57671b2b78
enable prettier-plugin-jsdoc 2021-11-10 08:41:52 +01:00
Matthieu MOREL
4d103c14f7 enable eslint fix and eslint-plugin-jsdoc 2021-11-09 11:01:49 +01:00
Yash-Singh1
d2d8c9bc8e Add jsdoc and refactor a bit of code 2021-11-06 19:36:06 -07:00
Yash-Singh1
dac542682d More code fence syntax highlighting 2021-11-01 19:43:54 -07:00
AlwinW
8b35745928 Corrected typos in documentation 2021-10-23 22:57:24 +11:00
Knut Sveidqvist
4839e6a8b3 merge 2021-09-23 19:42:51 +02:00
Knut Sveidqvist
2f73fd3a9d #2170 Adding dompurify 2021-07-05 10:21:11 +02:00
Knut Sveidqvist
a78ccb460d
Merge pull request #2083 from hydrosquall/patch-1
[docs] Update default log level value with correct datatype
2021-06-25 10:26:40 +02:00
Yusuke Wada
9861c081db fix typo 2021-06-04 13:56:11 +09:00
Cameron Yick
5fb8d34a07
[docs] Update default log level value 2021-05-18 23:39:26 -04:00
Knut Sveidqvist
1e6ed7be02 #2029 Adding option to configure default renderer 2021-04-30 17:27:05 +02:00
Knut Sveidqvist
8955e0a6b1 Fix for first case 2021-04-29 18:50:12 +02:00
Mr.Hope
68d0002d6b docs: update setup config 2021-04-24 13:13:49 +08:00
Knut Sveidqvist
4e7ecb3f30 Merge branch 'master' into develop 2021-03-13 16:45:27 +01:00
Neil Cuzon
8dae33e9ba
Update Setup.md 2021-03-10 20:24:36 -08:00
Neil Cuzon
835508a6b2
Update Setup.md 2021-03-06 00:30:53 -08:00
Neil Cuzon
b20569a3fb
Update Setup.md 2021-03-06 00:19:40 -08:00
Josh Sharpe
45518580a4 Small bug fix with requirement diagram naming. 2021-02-25 21:25:38 -05:00
Knut Sveidqvist
562390dbb6 Test commit 2021-01-28 20:55:58 +01:00
Knut Sveidqvist
740a86609f Mermaid version 8.8.4 2020-12-05 14:47:45 +01:00
Neil Cuzon
fff29fcd69
Update Setup.md 2020-11-08 01:29:00 -08:00
NeilCuzon
445daaeba2 Switching to Docsify and adding search 2020-10-25 00:30:20 -07:00
saowang
d003f9c6fd Update auto generated Setup.md with front matter 2020-08-26 01:38:51 +08:00
Knut Sveidqvist
0cbd002667 #1607 Using correct config when to decide about sanitizing text 2020-08-23 20:02:51 +02:00
saowang
9e8c6aed4d Update documents to compatible jekyll-rtd-theme 2020-08-21 01:01:06 +08:00
Mattéo Delabre
01344a991d
Add support for changing the length of edges
Resolves #637, resolves #1495.

The syntax for edges is extended to allow for extra
dashes/equals signs/dots (depending on the edge type). Each added
character increases the length of the edge by one rank level, as
follows:

Length            |    1   |    2    |     3    |
------------------|:------:|:-------:|:--------:|
Normal            |  `---` |  `----` |  `-----` |
Normal with arrow |  `-->` |  `--->` |  `---->` |
Thick             |  `===` |  `====` |  `=====` |
Thick with arrow  |  `==>` |  `===>` |  `====>` |
Dotted            |  `-.-` |  `-..-` |  `-...-` |
Dotted with arrow | `-.->` | `-..->` | `-...->` |

This features leverages the `minlen` property exposed by Dagre which was
not previously available when using Mermaid.
2020-08-14 00:15:26 +02:00
Justin Greywolf
5e72416478 1592-SVG syntax error with links
Added xlink namespace to svg definition
2020-08-12 13:47:21 -07:00
Knut Sveidqvist
a4bf85b1b6 #1542 Making sure config and directives works for overriding theme variables using initialize call or directives + tests 2020-07-29 18:38:59 +02:00
chris moran
e7ca6c16ff
Tweaked PIE (got rid of some parsing conflicts) 2020-07-27 14:15:38 -04:00
Knut Sveidqvist
4e12f959fc Updated after 8.6.4 merge 2020-07-26 22:38:55 +02:00
Knut Sveidqvist
a526386fbb
Merge pull request #1579 from NeilCuzon/release/8.6.0
Release/8.6.0
2020-07-26 13:37:39 +02:00
Neil Cuzon
718ba719ca
Update Setup.md 2020-07-25 21:36:15 -07:00
Neil Cuzon
f53a2f1b94
Update Setup.md 2020-07-25 09:52:03 -07:00
Knut Sveidqvist
c5b55fa476 Some small interim changes, adding theming.doc 2020-07-24 08:25:57 +02:00
Knut Sveidqvist
da8e75f98a Merge from master with doc updates 2020-07-16 12:27:03 +02:00
Knut Sveidqvist
b6b76eb137 Docs updated from code 2020-07-16 12:17:21 +02:00
Knut Sveidqvist
3a9306a9c2 #1485 Setting proper font settings in the root css 2020-07-15 12:12:57 +02:00
Knut Sveidqvist
686ee1e349 Relase 8.6.0 2020-07-13 16:39:52 +02:00
Knut Sveidqvist
8255088508
Merge pull request #1534 from 72636c/feature/er_use_max_width
Add `er.useMaxWidth` config option
2020-07-12 10:51:00 +02:00
Ryan Ling
3e38da2120
Document er defaults 2020-07-11 20:50:36 +10:00
Ryan Ling
13225faa9e
Update docs 2020-07-11 18:59:43 +10:00
Ryan Ling
99cb752c71
Add er.useMaxWidth config option
This restores the option of rendering an ERD with an absolute width,
which is consistent with the approach taken with the other diagram
types.

This logic was lost in #1324, which was probably just a small oversight:

9199546dca (diff-7c38d27acbe0676d923bf19283671616L397-L409)

The option defaults to true for backwards compatibility.
2020-07-11 18:54:26 +10:00