* feat: Add link to admin area on welcome page
See: #1259
* fix: remove trailing slash from welcome admin button
* fix: welcome page admin button link
Co-authored-by: Nicolas Giard <github@ngpixel.com>
In case of large DrawIO diagrams, today it is sometimes impossible to display it totally on the screen.
This quick workaround provides a way to enable a scrollbar if the width of the diagram is higher than the browser/screen width.
* First take on removing erroneous path characters
Paths should not accept trailing slashes or hashtags. This is a first attempt at nullifying those.
* Use rules to verify path before acceptance
Use Regex and rules to verify paths before acceptance
* Rules to prevent any leading or trailing slashes
* Complex slug for regex on path, but it elminates special chars
* Added yarn.lock to .gitignore
* Maybe we do want yarn.lock afterall
* Adding yarn.lock
* Move Regex pattern outside of export
Hide key-line created by `markdown-it-footnote` template when footnotes are directly preceded by header.
Examples:
```md
# References
[^1]: Shows no key-line because References header has one already
# New Page
Text goes here and whatever else
[^1]: these footnotes have no preceding header and will show a key-line
```
* Header formatting for Details Summary
Cleaning up Headers within Details Summary
* Fix for TOC Anchor location
Fix for TOC Anchor location within Details Summary
* display: none for the keyline seems smarter
* Fixes to accommodate large summaries
Fixed to accommodate larger summaries containing both headers and phrasing text. Still removing keylines for summaries with ONLY a header.
At present, the user that are not in the administrator group have no access to edit scripts and styles in page editor panel. This commit add configuration in group rule manage webpage so that users' permission on writing styles and writing scripts can be modified.
When using inline math ($e^{-x^2}$) the curly braces are interpreted as
attributes by markdown-it-attrs. Since most of the times they are not
valid attributes they simply get removed.
This patch escapes the curly braces (the default attribute delimiter),
fixing the KaTeX rendering errors.
It would be nice to simply skip that rule for `katex_inline` block types
but as far as I know markdown-it-attrs doesn't have such an option.
Fixes#1581
* fix: tabset tabs can't be scrolled
Fix for #2091. The change advised in that issue works brilliantly.
* fix: tabset scrollbar is visible even if unnecessary
* fix: tabset tall headers
Co-authored-by: Nicolas Giard <github@ngpixel.com>
Fix for #2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.