diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /spec/fixtures/markdown.md.erb | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/fixtures/markdown.md.erb')
-rw-r--r-- | spec/fixtures/markdown.md.erb | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb index 18cd63b7bcb..14885813d93 100644 --- a/spec/fixtures/markdown.md.erb +++ b/spec/fixtures/markdown.md.erb @@ -283,7 +283,23 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e - [x] Complete sub-task 1 - [X] Complete task 2 -#### Gollum Tags +### Math + +- Dollar math: $a^2 + b^2 = c^2$ +- Dollar math and snippet reference: $d^2 + e^2 = f^2$ and <%= snippet.to_reference %> +- Dollar math and snippet in another project: <%= xsnippet.to_reference(project) %> and $g^2 + h^2 = i^2$ +- Not dollar math: $20,000 and $30,000 +- Dollar-backtick math: $`j^2 + k^2 = l^2`$ +- Dollar display math: $$m^2 + n^2 = o^2$$ +- Dollar display math and snippet reference: $$p^2 + q^2 = r^2$$ and <%= snippet.to_reference %> +- Dollar math and snippet in another project: <%= xsnippet.to_reference(project) %> and $$s^2 + t^2 = u^2$$ +- Display math using a block + + ```math + v^2 + w^2 = x^2 + ``` + +### Gollum Tags - [[linked-resource]] - [[link-text|linked-resource]] @@ -326,15 +342,15 @@ However the wrapping tags cannot be mixed as such: ### Colors -`#F00` -`#F00A` -`#FF0000` -`#FF0000AA` -`RGB(0,255,0)` -`RGB(0%,100%,0%)` -`RGBA(0,255,0,0.7)` -`HSL(540,70%,50%)` -`HSLA(540,70%,50%,0.7)` +`#F00` +`#F00A` +`#FF0000` +`#FF0000AA` +`RGB(0,255,0)` +`RGB(0%,100%,0%)` +`RGBA(0,255,0,0.7)` +`HSL(540,70%,50%)` +`HSLA(540,70%,50%,0.7)` ### Mermaid |