summaryrefslogtreecommitdiff
path: root/public/views/slide.ejs (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-10Update CDN links and integrity hashes for upgraded librariesDavid Mehren1-6/+5
Signed-off-by: David Mehren <git@herrmehren.de>
2020-05-28Fix checksums of mermaidNick Hahn1-1/+1
Signed-off-by: Nick Hahn <nick.hahn@posteo.de>
2020-05-27Update to mermaid 8.5.1Nick Hahn1-1/+1
Signed-off-by: Nick Hahn <nick.hahn@posteo.de>
2020-02-10Update mermaid in CDNAntoine Aflalo1-1/+1
Signed-off-by: Antoine Aflalo <antoine@warrantymaster.com>
2019-12-20Fix urlPath support, let CodiMD be served from a subpath correctlyEnrico Guiraud1-0/+1
Webpack now uses relative paths for resources linked from by static snippets. A templated <base> tag has been introduced in headers so app.js can set the base URL at runtime. Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
2019-06-08Respect DNT headerSheogorath1-1/+1
Do Not Track (DNT) is an old web standard in order to notify pages that the user doesn't want to be tracked. Even while a lot of pages either ignore this header or even worse, use it for tracking purposes, the orignal intention of this header is good and should be adopted. This patch implements a respect of the DNT header by no longer including the optional Google Analytics and disqus integrations when sending a DNT header. This should reduce outside resource usage and help to stay more private. This should later-on extended towards other document content (i.e. iframe based content). The reason to not change the CDN handling is that CDNs will be deprecated with next release and removed in long term. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-06Update jQuery to version 3.4.1Sheogorath1-1/+1
2019-03-03Fix possible MathJax XSS issue [Security Issue]Max Wu1-0/+2
see more at: http://docs.mathjax.org/en/latest/safe-mode.html Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-11-19Update reveal.js to version 3.7.0Sheogorath1-3/+3
There is a new reveal.js version out. As we try to keep up with upstream, time to integreate it. This patch updates reveal.js in for CDN-using instances as well as the ones using the libraries. Checked that speaker view in slide mode still works, so no CSP change needed. https://github.com/hakimel/reveal.js/releases/tag/3.7.0 https://github.com/hackmdio/codimd/blob/2d241b93002a3a23f81ffe8fab82f2c6c98feca4/lib/csp.js#L72-L74 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-11-03removing global site layout vars from individual routers, putting them into ↵Claudius1-12/+12
app.local Signed-off-by: Claudius <opensource@amenthes.de>
2018-10-10Remove dead package octiconSheogorath1-1/+0
Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-05Replace font-awesome with fork-awesomeSheogorath1-1/+1
This patch replaces font-awesome with its fork called fork-awesome. Besides the fact that the newer versions of font-awesome can't be shipped with distros like debian due to license issues, fork-awesome also provides more FOSS related icons and builds on top of version 4.7.x of font-awesome, which we used until this patch. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update highlight.jsSheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update to octicon 4.4.0Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-24Add Print icon to slide viewSheogorath1-1/+1
It redirects the user to the print view of the document. I claim that people should either be smart enough to use ctrl+P or ask someone who knows how to print a webpage. I don't want to babysit our users. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-18Move polyfill to CDN sectionSheogorath1-2/+1
We don't support it on CDN false instances, but it doesn't hurt to keep it in for CDN-enabled instances Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-29Upgrade reveal.js to 3.6.0 and useCDN option for CSS includeWu Cheng-Han1-5/+4
2017-10-30Upgrade mermaid to v7.1.0, fix #600Peter Dave Hello1-1/+1
2017-10-23Externalise trivial inline styles from slide.ejsLiterallie1-5/+5
Dynamic background images need some further work
2017-10-22Fix MathJax CSP issuesLiterallie1-3/+1
2017-10-22CSP: Add nonce to slide view inline JSLiterallie1-1/+1
2017-05-31add the ability to set slide theme in slide optionsbutlerx1-0/+4
2017-04-18Fix indent in views, shouldn't mix tabs with spacesPeter Dave Hello1-6/+6
2017-04-18Use abcjs on cdnjs, cc @jackycutePeter Dave Hello1-0/+1
2017-03-21Update to use CDN css for emojify.js when applicableWu Cheng-Han1-1/+1
2017-02-02Fix to use minified CDN file source in mermaidWu Cheng-Han1-1/+1
2017-02-02Update viz.js and mermaid CDN linksWu Cheng-Han1-2/+2
2017-01-21Fix template partial pathWu Cheng-Han1-7/+7
2017-01-21Refactor templates and rearrange its pathWu Cheng-Han1-7/+7
2016-12-19Upgrade dependenciesWu Cheng-Han1-6/+6
2016-11-29Update webpack and slide resource loading to reduce pack sizeWu Cheng-Han1-1/+0
2016-11-29Fix slide resource path and style load orders to avoid conflictsWu Cheng-Han1-5/+8
2016-11-26Optimize slide page resource packing and load orders, fix possible wrong ↵Wu Cheng-Han1-32/+17
chunks orders and font awesome version
2016-11-26Fix possible XSS in yaml-metadata and turn using ejs escape syntax than ↵Wu Cheng-Han1-5/+5
external lib [Security Issue]
2016-11-26Fix slide might trigger script when processing markdown which cause XSS ↵Wu Cheng-Han1-1/+1
[Security Issue]
2016-11-26Update to separate polypill for IE to a templateWu Cheng-Han1-7/+1
2016-11-07Fix syntax highlighting not apply correctly in slidesWu Cheng-Han1-3/+3
2016-11-04Fix slide highlighting styles not apply properly and add missing styles ↵Wu Cheng-Han1-3/+3
dependency of prism in html export
2016-11-03Add font css to templatesYukai Huang1-0/+2
2016-11-02Require slide mode stylesheetsYukai Huang1-3/+2
2016-10-29Fix slide export pdf styles not applied issue and add shiv and shim for IEWu Cheng-Han1-4/+16
2016-10-25Update mathjax cdn path and source pathWu Cheng-Han1-2/+4
2016-10-23Fix config.js use cdn option not parse properly and add missing cdn resourcesWu Cheng-Han1-0/+3
2016-10-23Fix some typo of PR #230Wu Cheng-Han1-1/+0
2016-10-23Use CDNJS by default with https and SRI supportPeter Dave Hello1-14/+15
2016-10-19Fix to use bower version emojify.jsWu Cheng-Han1-0/+1
2016-10-18Update emoji parser using markdown-it-emoji instead of emojify to solve ↵Wu Cheng-Han1-1/+1
issue #217
2016-10-18Add missing tooltip scriptYukai Huang1-0/+1
2016-10-14Move gist-embed to CDNYukai Huang1-0/+1
2016-10-14Move highlight.js to CDNYukai Huang1-0/+1