Comments (3)
markdown page is compiled as vue component, so <script>
and <style>
are used as language blocks, you can use <component is="script" src="https://..."></component>
to workaround that.
but in general it's discouraged to use native HTML <script>
tag since the website is rendered universally and that might cause problem in SSR.
from saber.
better use a vue component to load gist asynchronously like this: https://github.com/leptosia/docute/blob/master/src/components/Gist.vue
from saber.
Thanks for the information, will research.
from saber.
Related Issues (20)
- Weekly Digest (3 November, 2019 - 10 November, 2019) HOT 1
- Weekly Digest (10 November, 2019 - 17 November, 2019) HOT 1
- Saber v1 roadmap HOT 10
- ESLint and Vetur integration HOT 2
- Provide tags and categories by default? HOT 1
- Available posts is incorrect with saber-plugin-query-posts and categories HOT 1
- Error While Injecting Script Tag into Head HOT 1
- Saber 0.11.5 'saber-config.yml' performed different from 'saber-config.js' in <saber-link> path.
- sass-loader v8+ compatibility
- Add --no-inline build flag (for CSP compatibility) HOT 1
- Can I inject posts into a Vue component (not layout)? HOT 3
- No effect after setting metaInfo HOT 1
- Feature request: Expose line number index for color highlighting HOT 1
- Regression: #556 causing duplicated document meta description
- Portuguese Translating
- How to add meta inside a md file
- Build requires PostCSS @ 8 support HOT 4
- i18n and translations using only one file per page HOT 2
- Wrong Link in the page: https://github.com/saberland HOT 1
- ERR_PACKAGE_PATH_NOT_EXPORTED HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saber.