Browse Source

Changed CDN to jsDeliver due problems in FF with cdnjs

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
f3bc02a51e
  1. 8
      README.md
  2. 13
      demo/index.html
  3. 14
      demo/index.jade

8
README.md

@ -27,13 +27,9 @@ npm install remarkable --save
bower install remarkable --save bower install remarkable --save
``` ```
**browser:** **browser (CDN):**
The following CDN's host remarkable: - [jsDeliver CDN](http://www.jsdelivr.com/#!remarkable "jsDelivr CDN")
- [jsDeliver](http://www.jsdelivr.com/#!remarkable "jsDelivr CDN")
If you add remarkable to a CDN, please [let us know](https://github.com/jonschlinkert/remarkable/issues) or do PR to add it to the readme!
## Usage ## Usage

13
demo/index.html

@ -3,13 +3,12 @@
<head> <head>
<title>Remarkable demo</title> <title>Remarkable demo</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script> <script src="https://cdn.jsdelivr.net/lodash/2.4.1/lodash.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Base64/0.3.0/base64.js"></script> <script src="https://cdn.jsdelivr.net/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/bootstrap/3.2.0/css/bootstrap.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css"> <script src="https://cdn.jsdelivr.net/highlight.js/8.2/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/highlight.min.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/highlight.js/8.2/styles/solarized_light.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/styles/solarized_light.min.css">
<script src="../dist/remarkable.js"></script> <script src="../dist/remarkable.js"></script>
<link rel="stylesheet" href="./assets/index.css"> <link rel="stylesheet" href="./assets/index.css">
<script src="./assets/index.js"></script> <script src="./assets/index.js"></script>

14
demo/index.jade

@ -4,16 +4,14 @@ html
title Remarkable demo title Remarkable demo
meta(charset='UTF-8') meta(charset='UTF-8')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js') script(src='https://cdn.jsdelivr.net/jquery/2.1.1/jquery.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js') script(src='https://cdn.jsdelivr.net/lodash/2.4.1/lodash.js')
//- atob/btoa polyfill
script(src='https://cdnjs.cloudflare.com/ajax/libs/Base64/0.3.0/base64.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js') script(src='https://cdn.jsdelivr.net/bootstrap/3.2.0/js/bootstrap.min.js')
link(rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css') link(rel='stylesheet' href='https://cdn.jsdelivr.net/bootstrap/3.2.0/css/bootstrap.css')
script(src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/highlight.min.js') script(src='https://cdn.jsdelivr.net/highlight.js/8.2/highlight.min.js')
link(rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/styles/solarized_light.min.css') link(rel='stylesheet' href='https://cdn.jsdelivr.net/highlight.js/8.2/styles/solarized_light.css')
script(src='../dist/remarkable.js') script(src='../dist/remarkable.js')

Loading…
Cancel
Save