this is for holding javascript data
Beni Cherniavsky-Paskin Merge remote-tracking branch 'cee-rh-gitlab/master'
about 5 years ago
Commit id: 7080ee2a05f0917dcbfd16d596dba6001623ab38
deletions | additions
diff --git a/README.md b/README.md
index 6a3dd13..ef32805 100644
--- a/README.md
+++ b/README.md
...
Interesting, this prefixed link scrolls to a slightly different place than `#linking-to-headers`.
I'm not sure how the unprefixed `#linking-to-headers` link works at all, perhaps by JS parsing the URL?
### Gitlab
math syntaxes
inline $`\frac{kram}{down} \sum_0^\infty`$ text.
...
\frac{kram}{down} \sum_0^\infty
```
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
### Links in SVG?
img tag:
markdown image syntax: ![gravizo](https://g.gravizo.com/svg?%20digraph%20G%20%7B%0A%20%20%20%20link%20%5Bshape%3Dbox%3B%20URL%3D%22http%3A%2F%2Fgoogle.com%22%5D%3B%0A%20%20%7D)
diff --git a/test-gitlab-highlight.js b/test-gitlab-highlight.js
new file mode 100644
index 0000000..5075174
--- /dev/null
+++ b/test-gitlab-highlight.js
...
// problem seen on private gitlab Community Edition 10.8.7 eb600b0
// does it still happen on gitlab.com? yep, Enterprise Edition 11.9.4-ee
// the \\ escapes itself, not the following ', so the `splitToken(token)` line
// should be colored as code, not string.
const foo = [
someCode(),
'TOKEN=\\',
splitToken(token),
'"',
'bar "$TOKEN"',
];
moreCodeColoredAsString();