update md2site demo

This commit is contained in:
张磊 2018-12-17 15:38:05 +08:00
parent ab906306ef
commit 00f11f2761
41 changed files with 54 additions and 54 deletions

View File

@ -1,23 +1,23 @@
{
"index.css": "static/css/index.86761e06.css",
"index.css.map": "static/css/index.86761e06.css.map",
"index.js": "static/js/index.1f3bd214.js",
"index.js.map": "static/js/index.1f3bd214.js.map",
"static/js/0.4c4a2a07.chunk.js": "static/js/0.4c4a2a07.chunk.js",
"static/js/0.4c4a2a07.chunk.js.map": "static/js/0.4c4a2a07.chunk.js.map",
"static/js/1.64c0953e.chunk.js": "static/js/1.64c0953e.chunk.js",
"static/js/1.64c0953e.chunk.js.map": "static/js/1.64c0953e.chunk.js.map",
"static/js/2.941e2895.chunk.js": "static/js/2.941e2895.chunk.js",
"static/js/2.941e2895.chunk.js.map": "static/js/2.941e2895.chunk.js.map",
"static/js/3.cd5a5a89.chunk.js": "static/js/3.cd5a5a89.chunk.js",
"static/js/3.cd5a5a89.chunk.js.map": "static/js/3.cd5a5a89.chunk.js.map",
"static/js/4.05b33f01.chunk.js": "static/js/4.05b33f01.chunk.js",
"static/js/4.05b33f01.chunk.js.map": "static/js/4.05b33f01.chunk.js.map",
"static/js/5.c3feef23.chunk.js": "static/js/5.c3feef23.chunk.js",
"static/js/5.c3feef23.chunk.js.map": "static/js/5.c3feef23.chunk.js.map",
"static\\media\\omi-logo.svg": "static/media/omi-logo.26631e67.svg",
"zh-cn.css": "static/css/zh-cn.86761e06.css",
"zh-cn.css.map": "static/css/zh-cn.86761e06.css.map",
"zh-cn.js": "static/js/zh-cn.7688eaeb.js",
"zh-cn.js.map": "static/js/zh-cn.7688eaeb.js.map"
"index.css": "static/css/index.7fd94fa3.css",
"index.css.map": "static/css/index.7fd94fa3.css.map",
"index.js": "static/js/index.86734763.js",
"index.js.map": "static/js/index.86734763.js.map",
"static/js/0.de7771e5.chunk.js": "static/js/0.de7771e5.chunk.js",
"static/js/0.de7771e5.chunk.js.map": "static/js/0.de7771e5.chunk.js.map",
"static/js/1.3d241617.chunk.js": "static/js/1.3d241617.chunk.js",
"static/js/1.3d241617.chunk.js.map": "static/js/1.3d241617.chunk.js.map",
"static/js/2.916a2d79.chunk.js": "static/js/2.916a2d79.chunk.js",
"static/js/2.916a2d79.chunk.js.map": "static/js/2.916a2d79.chunk.js.map",
"static/js/3.76509d8c.chunk.js": "static/js/3.76509d8c.chunk.js",
"static/js/3.76509d8c.chunk.js.map": "static/js/3.76509d8c.chunk.js.map",
"static/js/4.466db21e.chunk.js": "static/js/4.466db21e.chunk.js",
"static/js/4.466db21e.chunk.js.map": "static/js/4.466db21e.chunk.js.map",
"static/js/5.499a3d67.chunk.js": "static/js/5.499a3d67.chunk.js",
"static/js/5.499a3d67.chunk.js.map": "static/js/5.499a3d67.chunk.js.map",
"static\\media\\omi-logo.svg": "static/media/omi-logo.979f9173.svg",
"zh-cn.css": "static/css/zh-cn.7fd94fa3.css",
"zh-cn.css.map": "static/css/zh-cn.7fd94fa3.css.map",
"zh-cn.js": "static/js/zh-cn.b1981a69.js",
"zh-cn.js.map": "static/js/zh-cn.b1981a69.js.map"
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><title>Omi</title><link href="./static/css/index.86761e06.css" rel="stylesheet"></head><body><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.1f3bd214.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><title>Omi</title><link href="./static/css/index.7fd94fa3.css" rel="stylesheet"></head><body><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.86734763.js"></script></body></html>

View File

@ -1 +1 @@
"use strict";var precacheConfig=[["./index.html","8c9089fa4dcd4c59a18041c295af9764"],["./static/css/index.86761e06.css","f232875ca52e425c1dd2347522136f6e"],["./static/css/zh-cn.86761e06.css","f449c23149905ca85590ee52a600c1c5"],["./static/js/0.4c4a2a07.chunk.js","83bd72d3e34a312f759e7d4a1365a5e4"],["./static/js/1.64c0953e.chunk.js","d3227166b2223f786f54575fb9d783ce"],["./static/js/2.941e2895.chunk.js","0ae8f31d0cf61ccffec92619e159fca1"],["./static/js/3.cd5a5a89.chunk.js","71ce93faa7b8c810d0713310667647c8"],["./static/js/4.05b33f01.chunk.js","14d8e24394f886c5d0b929111422d1d5"],["./static/js/5.c3feef23.chunk.js","f9a403153a4dd70c6f93d82eee6eb07b"],["./static/js/index.1f3bd214.js","3e1aa0b38a93b8f95b58a8f4db8d4093"],["./static/js/zh-cn.7688eaeb.js","441da1c723b00b1c44e18bcfcf7795b4"],["./static/media/omi-logo.26631e67.svg","26631e676908783dfa95d1bd456c3f79"],["./zh-cn.html","94adf326f4bf39a751de975ee2474013"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
"use strict";var precacheConfig=[["./index.html","a2a9f024b4b2c3464244e0c8e9968659"],["./static/css/index.7fd94fa3.css","f92706c168ce617a52e7bdb97ea8f974"],["./static/css/zh-cn.7fd94fa3.css","3cf2a12d743b914e6606d48646d6caef"],["./static/js/0.de7771e5.chunk.js","4c570a8d3f676537bfc3f05084da8336"],["./static/js/1.3d241617.chunk.js","2e04b36b2e77476d2d7fc32b2328831e"],["./static/js/2.916a2d79.chunk.js","3853322a6ef3358b2bb419b8bb067e8a"],["./static/js/3.76509d8c.chunk.js","fe8c667f81d2a88cd167f95d043f88ff"],["./static/js/4.466db21e.chunk.js","11618163038ee21503bf7373e59fc277"],["./static/js/5.499a3d67.chunk.js","1a4fb9d90f1a924f909d9fe1e8e497aa"],["./static/js/index.86734763.js","55bb6ecfd7e03ee1b600e4b54d729a8e"],["./static/js/zh-cn.b1981a69.js","74a1409add37131a6c207c3b052c52d0"],["./static/media/omi-logo.979f9173.svg","979f9173db1ab18c35b7e720f0bb41a0"],["./zh-cn.html","6e3f57bb0d5babb64bd8cc54c141f021"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});

View File

@ -1,2 +1,2 @@
body,html{background-color:#f6f8fa;font-family:proxima-nova,Helvetica Neue,Helvetica,Roboto,PT Sans,DejaVu Sans,Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,"sans-serif"}body,html,img,li,ul{margin:0;padding:0;border:0}li,ul{list-style:disc inside}a{text-decoration:none;color:#0366d6}table{border-collapse:collapse}table,td,th{border:1px solid #ccc}td,th{padding:4px 8px}@media only screen and (max-width:768px){body,html{overflow-x:hidden}.content img{width:100%}.content code[class*=language-],.content pre[class*=language-]{font-family:Consolas,Liberation Mono,Courier,monospace;line-height:18px;font-size:12px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.content pre[class*=language-]{padding-left:10px}.content p{font-size:14px}.content h1,.content h2,.content h3,.content h4,.content h5,.content p{padding-left:10px;padding-right:10px}.line-highlight:before,.line-highlight[data-end]:after{top:0}}*{-webkit-box-sizing:border-box;box-sizing:border-box}pre code.hljs{padding-left:14px;display:block;overflow-x:auto}.hljs{font-size:14px}code.hljs{display:inline-block;overflow-x:hidden;text-indent:0;position:relative;top:8px;background-color:rgba(27,31,35,.05);border-radius:3px}blockquote:before{content:"";position:absolute;left:0;top:11px;background-color:#dfe2e5;height:24px;width:4px}blockquote{position:relative;margin:0;padding-left:20px}._code-ctn code.hljs{top:2px;background-color:transparent;border-radius:0}._code-ctn{position:relative;height:auto;background-color:#282c34;border-radius:3px;padding-top:1px;margin-top:15px;padding-bottom:1px;max-width:900px}._code-ctn,._hl{line-height:18px}._hl{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:5px;position:absolute;top:0;left:0;width:100%}._hll{background-color:#484d57;height:18px;width:100%}._code-ctn code,._code-ctn pre{background:transparent;position:relative;z-index:1}
/*# sourceMappingURL=index.86761e06.css.map*/
body,html{background-color:#f6f8fa;font-family:proxima-nova,Helvetica Neue,Helvetica,Roboto,PT Sans,DejaVu Sans,Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,"sans-serif"}body,html,img,li,ul{margin:0;padding:0;border:0}li,ul{list-style:disc inside}a{text-decoration:none;color:#0366d6}table{border-collapse:collapse}table,td,th{border:1px solid #ccc}td,th{padding:4px 8px}@media only screen and (max-width:768px){body,html{overflow-x:hidden}.content img{width:100%}.content code[class*=language-],.content pre[class*=language-]{font-family:Consolas,Liberation Mono,Courier,monospace;line-height:18px;font-size:13px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.content pre[class*=language-]{padding-left:10px}.content p{font-size:14px}.content h1,.content h2,.content h3,.content h4,.content h5,.content p{padding-left:10px;padding-right:10px}.line-highlight:before,.line-highlight[data-end]:after{top:0}}*{-webkit-box-sizing:border-box;box-sizing:border-box}pre code.hljs{padding-left:14px;display:block;overflow-x:auto}.hljs{font-size:14px}code.hljs{display:inline-block;overflow-x:hidden;text-indent:0;position:relative;top:8px;background-color:rgba(27,31,35,.05);border-radius:3px}blockquote:before{content:"";position:absolute;left:0;top:11px;background-color:#dfe2e5;height:24px;width:4px}blockquote{position:relative;margin:0;padding-left:20px}._code-ctn code.hljs{top:2px;background-color:transparent;border-radius:0}._code-ctn{position:relative;height:auto;background-color:#282c34;border-radius:3px;padding-top:1px;margin-top:15px;padding-bottom:1px;max-width:900px}._code-ctn,._hl{line-height:18px}._hl{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:5px;position:absolute;top:-1px;left:0;width:100%}._hll{background-color:#484d57;height:18px;width:100%}._code-ctn code,._code-ctn pre{background:transparent;position:relative;z-index:1}
/*# sourceMappingURL=index.7fd94fa3.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"sources":["assets/index.css"],"names":[],"mappings":"AAAA,UAIE,yBACA,sJAA4J,CAG9J,oBAPE,SACA,UACA,QAAU,CAWZ,MACE,sBAAwB,CAG1B,EACE,qBACA,aAAe,CAEjB,MACE,wBAA0B,CAE5B,YACE,qBAAuB,CAGzB,MACE,eAAiB,CAGnB,yCACE,UAEE,iBAAmB,CAGrB,aACI,UAAY,CAIhB,+DAEI,uDACA,iBACA,eACA,SACA,WACA,8BACQ,qBAAuB,CAGnC,+BACI,iBAAmB,CAEvB,WACI,cAAgB,CAEpB,uEACI,kBACA,kBAAmB,CAGvB,uDACI,KAAS,CACZ,CAGH,EACE,8BACQ,qBAAuB,CAGjC,cACE,kBACA,cACA,eAAiB,CAGnB,MACE,cAAgB,CAGlB,UACE,qBACA,kBACA,cACA,kBACA,QACA,oCACA,iBAAmB,CAGrB,kBACE,WACA,kBACA,OACA,SACA,yBACA,YACA,SAAW,CAGb,WACE,kBACA,SACA,iBAAmB,CAGrB,qBACE,QACA,6BACA,eAAmB,CAGrB,WACE,kBACA,YACA,yBACA,kBACA,gBACA,gBACA,mBAEA,eAAiB,CAGnB,gBAJE,gBAAkB,CAgBnB,KAXC,yBACA,sBACA,qBACA,iBACA,gBACA,kBACA,SACA,OACA,UAAY,CAKd,MACE,yBACA,YACA,UAAY,CAYd,+BACE,uBACE,kBACA,SAAW","file":"static/css/index.7fd94fa3.css","sourcesContent":["html,body{\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n background-color: #f6f8fa;\r\n font-family:proxima-nova,\"Helvetica Neue\",Helvetica,Roboto, PT Sans, DejaVu Sans, Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,'sans-serif';\r\n}\r\n\r\nimg,ul,li{\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n}\r\n\r\nul,li{\r\n list-style:disc inside ;\r\n}\r\n\r\na{\r\n text-decoration: none;\r\n color: #0366d6;\r\n}\r\ntable{\r\n border-collapse: collapse;\r\n}\r\ntable,td,th{\r\n border: 1px solid #ccc;\r\n}\r\n\r\ntd,th{\r\n padding: 4px 8px;\r\n}\r\n\r\n@media only screen and (max-width: 768px) {\r\n html,body{\r\n\r\n overflow-x: hidden;\r\n }\r\n\r\n .content img{\r\n width: 100%;\r\n }\r\n\r\n\r\n .content code[class*=\"language-\"],\r\n .content pre[class*=\"language-\"] {\r\n font-family: Consolas, \"Liberation Mono\", Courier, monospace;\r\n line-height: 18px;\r\n font-size: 13px;\r\n margin: 0;\r\n width: 100%;\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n }\r\n\r\n .content pre[class*=\"language-\"] {\r\n padding-left: 10px;\r\n }\r\n .content p{\r\n font-size: 14px;\r\n }\r\n .content p,.content h1,.content h2,.content h3,.content h4,.content h5{\r\n padding-left:10px;\r\n padding-right:10px;\r\n }\r\n\r\n .line-highlight:before, .line-highlight[data-end]:after{\r\n top: 0em;\r\n }\r\n}\r\n\r\n*{\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\npre code.hljs{\r\n padding-left: 14px;\r\n display: block;\r\n overflow-x: auto;\r\n}\r\n\r\n.hljs{\r\n font-size: 14px;\r\n}\r\n\r\ncode.hljs{\r\n display: inline-block;\r\n overflow-x: hidden;\r\n text-indent: 0;\r\n position: relative;\r\n top: 8px;\r\n background-color:rgba(27,31,35,.05); \r\n border-radius: 3px;\r\n}\r\n\r\nblockquote::before{\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n top:11px;\r\n background-color: #dfe2e5;\r\n height: 24px;\r\n width: 4px;\r\n}\r\n\r\nblockquote {\r\n position: relative;\r\n margin: 0;\r\n padding-left: 20px; \r\n}\r\n\r\n._code-ctn code.hljs{\r\n top: 2px;\r\n background-color:transparent;\r\n border-radius: 0px;\r\n}\r\n\r\n._code-ctn{\r\n position: relative;\r\n height: auto;\r\n background-color: #282C34;\r\n border-radius: 3px;\r\n padding-top:1px; \r\n margin-top: 15px; \r\n padding-bottom:1px; \r\n line-height: 18px;\r\n max-width: 900px;\r\n}\r\n\r\n._hl{\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n padding-top: 5px;\r\n position: absolute;\r\n top: -1px;\r\n left: 0;\r\n width: 100%;\r\n line-height: 18px;\r\n\r\n}\r\n\r\n._hll{\r\n background-color: rgb(72, 77, 87);\r\n height: 18px;\r\n width: 100%;\r\n\r\n}\r\n\r\n\r\n._code-ctn pre{\r\n background: transparent;\r\n position: relative;\r\n z-index: 1;\r\n}\r\n\r\n\r\n._code-ctn code{\r\n background: transparent;\r\n position: relative;\r\n z-index: 1;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/assets/index.css"],"sourceRoot":""}

View File

@ -1 +0,0 @@
{"version":3,"sources":["assets/index.css"],"names":[],"mappings":"AAAA,UAIE,yBACA,sJAA4J,CAG9J,oBAPE,SACA,UACA,QAAU,CAWZ,MACE,sBAAwB,CAG1B,EACE,qBACA,aAAe,CAEjB,MACE,wBAA0B,CAE5B,YACE,qBAAuB,CAGzB,MACE,eAAiB,CAGnB,yCACE,UAEE,iBAAmB,CAGrB,aACI,UAAY,CAIhB,+DAEI,uDACA,iBACA,eACA,SACA,WACA,8BACQ,qBAAuB,CAGnC,+BACI,iBAAmB,CAEvB,WACI,cAAgB,CAEpB,uEACI,kBACA,kBAAmB,CAGvB,uDACI,KAAS,CACZ,CAGH,EACE,8BACQ,qBAAuB,CAGjC,cACE,kBACA,cACA,eAAiB,CAGnB,MACE,cAAgB,CAGlB,UACE,qBACA,kBACA,cACA,kBACA,QACA,oCACA,iBAAmB,CAGrB,kBACE,WACA,kBACA,OACA,SACA,yBACA,YACA,SAAW,CAGb,WACE,kBACA,SACA,iBAAmB,CAGrB,qBACE,QACA,6BACA,eAAmB,CAGrB,WACE,kBACA,YACA,yBACA,kBACA,gBACA,gBACA,mBAEA,eAAiB,CAGnB,gBAJE,gBAAkB,CAgBnB,KAXC,yBACA,sBACA,qBACA,iBACA,gBACA,kBACA,MACA,OACA,UAAY,CAKd,MACE,yBACA,YACA,UAAY,CAYd,+BACE,uBACE,kBACA,SAAW","file":"static/css/index.86761e06.css","sourcesContent":["html,body{\n margin: 0;\n padding: 0;\n border: 0;\n background-color: #f6f8fa;\n font-family:proxima-nova,\"Helvetica Neue\",Helvetica,Roboto, PT Sans, DejaVu Sans, Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,'sans-serif';\n}\n\nimg,ul,li{\n margin: 0;\n padding: 0;\n border: 0;\n}\n\nul,li{\n list-style:disc inside ;\n}\n\na{\n text-decoration: none;\n color: #0366d6;\n}\ntable{\n border-collapse: collapse;\n}\ntable,td,th{\n border: 1px solid #ccc;\n}\n\ntd,th{\n padding: 4px 8px;\n}\n\n@media only screen and (max-width: 768px) {\n html,body{\n\n overflow-x: hidden;\n }\n\n .content img{\n width: 100%;\n }\n\n\n .content code[class*=\"language-\"],\n .content pre[class*=\"language-\"] {\n font-family: Consolas, \"Liberation Mono\", Courier, monospace;\n line-height: 18px;\n font-size: 12px;\n margin: 0;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .content pre[class*=\"language-\"] {\n padding-left: 10px;\n }\n .content p{\n font-size: 14px;\n }\n .content p,.content h1,.content h2,.content h3,.content h4,.content h5{\n padding-left:10px;\n padding-right:10px;\n }\n\n .line-highlight:before, .line-highlight[data-end]:after{\n top: 0em;\n }\n}\n\n*{\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\npre code.hljs{\n padding-left: 14px;\n display: block;\n overflow-x: auto;\n}\n\n.hljs{\n font-size: 14px;\n}\n\ncode.hljs{\n display: inline-block;\n overflow-x: hidden;\n text-indent: 0;\n position: relative;\n top: 8px;\n background-color:rgba(27,31,35,.05); \n border-radius: 3px;\n}\n\nblockquote::before{\n content: '';\n position: absolute;\n left: 0;\n top:11px;\n background-color: #dfe2e5;\n height: 24px;\n width: 4px;\n}\n\nblockquote {\n position: relative;\n margin: 0;\n padding-left: 20px; \n}\n\n._code-ctn code.hljs{\n top: 2px;\n background-color:transparent;\n border-radius: 0px;\n}\n\n._code-ctn{\n position: relative;\n height: auto;\n background-color: #282C34;\n border-radius: 3px;\n padding-top:1px; \n margin-top: 15px; \n padding-bottom:1px; \n line-height: 18px;\n max-width: 900px;\n}\n\n._hl{\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding-top: 5px;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n line-height: 18px;\n\n}\n\n._hll{\n background-color: rgb(72, 77, 87);\n height: 18px;\n width: 100%;\n\n}\n\n\n._code-ctn pre{\n background: transparent;\n position: relative;\n z-index: 1;\n}\n\n\n._code-ctn code{\n background: transparent;\n position: relative;\n z-index: 1;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/assets/index.css"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
body,html{background-color:#f6f8fa;font-family:proxima-nova,Helvetica Neue,Helvetica,Roboto,PT Sans,DejaVu Sans,Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,"sans-serif"}body,html,img,li,ul{margin:0;padding:0;border:0}li,ul{list-style:disc inside}a{text-decoration:none;color:#0366d6}table{border-collapse:collapse}table,td,th{border:1px solid #ccc}td,th{padding:4px 8px}@media only screen and (max-width:768px){body,html{overflow-x:hidden}.content img{width:100%}.content code[class*=language-],.content pre[class*=language-]{font-family:Consolas,Liberation Mono,Courier,monospace;line-height:18px;font-size:12px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.content pre[class*=language-]{padding-left:10px}.content p{font-size:14px}.content h1,.content h2,.content h3,.content h4,.content h5,.content p{padding-left:10px;padding-right:10px}.line-highlight:before,.line-highlight[data-end]:after{top:0}}*{-webkit-box-sizing:border-box;box-sizing:border-box}pre code.hljs{padding-left:14px;display:block;overflow-x:auto}.hljs{font-size:14px}code.hljs{display:inline-block;overflow-x:hidden;text-indent:0;position:relative;top:8px;background-color:rgba(27,31,35,.05);border-radius:3px}blockquote:before{content:"";position:absolute;left:0;top:11px;background-color:#dfe2e5;height:24px;width:4px}blockquote{position:relative;margin:0;padding-left:20px}._code-ctn code.hljs{top:2px;background-color:transparent;border-radius:0}._code-ctn{position:relative;height:auto;background-color:#282c34;border-radius:3px;padding-top:1px;margin-top:15px;padding-bottom:1px;max-width:900px}._code-ctn,._hl{line-height:18px}._hl{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:5px;position:absolute;top:0;left:0;width:100%}._hll{background-color:#484d57;height:18px;width:100%}._code-ctn code,._code-ctn pre{background:transparent;position:relative;z-index:1}
/*# sourceMappingURL=zh-cn.86761e06.css.map*/
body,html{background-color:#f6f8fa;font-family:proxima-nova,Helvetica Neue,Helvetica,Roboto,PT Sans,DejaVu Sans,Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,"sans-serif"}body,html,img,li,ul{margin:0;padding:0;border:0}li,ul{list-style:disc inside}a{text-decoration:none;color:#0366d6}table{border-collapse:collapse}table,td,th{border:1px solid #ccc}td,th{padding:4px 8px}@media only screen and (max-width:768px){body,html{overflow-x:hidden}.content img{width:100%}.content code[class*=language-],.content pre[class*=language-]{font-family:Consolas,Liberation Mono,Courier,monospace;line-height:18px;font-size:13px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.content pre[class*=language-]{padding-left:10px}.content p{font-size:14px}.content h1,.content h2,.content h3,.content h4,.content h5,.content p{padding-left:10px;padding-right:10px}.line-highlight:before,.line-highlight[data-end]:after{top:0}}*{-webkit-box-sizing:border-box;box-sizing:border-box}pre code.hljs{padding-left:14px;display:block;overflow-x:auto}.hljs{font-size:14px}code.hljs{display:inline-block;overflow-x:hidden;text-indent:0;position:relative;top:8px;background-color:rgba(27,31,35,.05);border-radius:3px}blockquote:before{content:"";position:absolute;left:0;top:11px;background-color:#dfe2e5;height:24px;width:4px}blockquote{position:relative;margin:0;padding-left:20px}._code-ctn code.hljs{top:2px;background-color:transparent;border-radius:0}._code-ctn{position:relative;height:auto;background-color:#282c34;border-radius:3px;padding-top:1px;margin-top:15px;padding-bottom:1px;max-width:900px}._code-ctn,._hl{line-height:18px}._hl{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:5px;position:absolute;top:-1px;left:0;width:100%}._hll{background-color:#484d57;height:18px;width:100%}._code-ctn code,._code-ctn pre{background:transparent;position:relative;z-index:1}
/*# sourceMappingURL=zh-cn.7fd94fa3.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"sources":["assets/index.css"],"names":[],"mappings":"AAAA,UAIE,yBACA,sJAA4J,CAG9J,oBAPE,SACA,UACA,QAAU,CAWZ,MACE,sBAAwB,CAG1B,EACE,qBACA,aAAe,CAEjB,MACE,wBAA0B,CAE5B,YACE,qBAAuB,CAGzB,MACE,eAAiB,CAGnB,yCACE,UAEE,iBAAmB,CAGrB,aACI,UAAY,CAIhB,+DAEI,uDACA,iBACA,eACA,SACA,WACA,8BACQ,qBAAuB,CAGnC,+BACI,iBAAmB,CAEvB,WACI,cAAgB,CAEpB,uEACI,kBACA,kBAAmB,CAGvB,uDACI,KAAS,CACZ,CAGH,EACE,8BACQ,qBAAuB,CAGjC,cACE,kBACA,cACA,eAAiB,CAGnB,MACE,cAAgB,CAGlB,UACE,qBACA,kBACA,cACA,kBACA,QACA,oCACA,iBAAmB,CAGrB,kBACE,WACA,kBACA,OACA,SACA,yBACA,YACA,SAAW,CAGb,WACE,kBACA,SACA,iBAAmB,CAGrB,qBACE,QACA,6BACA,eAAmB,CAGrB,WACE,kBACA,YACA,yBACA,kBACA,gBACA,gBACA,mBAEA,eAAiB,CAGnB,gBAJE,gBAAkB,CAgBnB,KAXC,yBACA,sBACA,qBACA,iBACA,gBACA,kBACA,SACA,OACA,UAAY,CAKd,MACE,yBACA,YACA,UAAY,CAYd,+BACE,uBACE,kBACA,SAAW","file":"static/css/zh-cn.7fd94fa3.css","sourcesContent":["html,body{\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n background-color: #f6f8fa;\r\n font-family:proxima-nova,\"Helvetica Neue\",Helvetica,Roboto, PT Sans, DejaVu Sans, Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,'sans-serif';\r\n}\r\n\r\nimg,ul,li{\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n}\r\n\r\nul,li{\r\n list-style:disc inside ;\r\n}\r\n\r\na{\r\n text-decoration: none;\r\n color: #0366d6;\r\n}\r\ntable{\r\n border-collapse: collapse;\r\n}\r\ntable,td,th{\r\n border: 1px solid #ccc;\r\n}\r\n\r\ntd,th{\r\n padding: 4px 8px;\r\n}\r\n\r\n@media only screen and (max-width: 768px) {\r\n html,body{\r\n\r\n overflow-x: hidden;\r\n }\r\n\r\n .content img{\r\n width: 100%;\r\n }\r\n\r\n\r\n .content code[class*=\"language-\"],\r\n .content pre[class*=\"language-\"] {\r\n font-family: Consolas, \"Liberation Mono\", Courier, monospace;\r\n line-height: 18px;\r\n font-size: 13px;\r\n margin: 0;\r\n width: 100%;\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n }\r\n\r\n .content pre[class*=\"language-\"] {\r\n padding-left: 10px;\r\n }\r\n .content p{\r\n font-size: 14px;\r\n }\r\n .content p,.content h1,.content h2,.content h3,.content h4,.content h5{\r\n padding-left:10px;\r\n padding-right:10px;\r\n }\r\n\r\n .line-highlight:before, .line-highlight[data-end]:after{\r\n top: 0em;\r\n }\r\n}\r\n\r\n*{\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\npre code.hljs{\r\n padding-left: 14px;\r\n display: block;\r\n overflow-x: auto;\r\n}\r\n\r\n.hljs{\r\n font-size: 14px;\r\n}\r\n\r\ncode.hljs{\r\n display: inline-block;\r\n overflow-x: hidden;\r\n text-indent: 0;\r\n position: relative;\r\n top: 8px;\r\n background-color:rgba(27,31,35,.05); \r\n border-radius: 3px;\r\n}\r\n\r\nblockquote::before{\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n top:11px;\r\n background-color: #dfe2e5;\r\n height: 24px;\r\n width: 4px;\r\n}\r\n\r\nblockquote {\r\n position: relative;\r\n margin: 0;\r\n padding-left: 20px; \r\n}\r\n\r\n._code-ctn code.hljs{\r\n top: 2px;\r\n background-color:transparent;\r\n border-radius: 0px;\r\n}\r\n\r\n._code-ctn{\r\n position: relative;\r\n height: auto;\r\n background-color: #282C34;\r\n border-radius: 3px;\r\n padding-top:1px; \r\n margin-top: 15px; \r\n padding-bottom:1px; \r\n line-height: 18px;\r\n max-width: 900px;\r\n}\r\n\r\n._hl{\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n padding-top: 5px;\r\n position: absolute;\r\n top: -1px;\r\n left: 0;\r\n width: 100%;\r\n line-height: 18px;\r\n\r\n}\r\n\r\n._hll{\r\n background-color: rgb(72, 77, 87);\r\n height: 18px;\r\n width: 100%;\r\n\r\n}\r\n\r\n\r\n._code-ctn pre{\r\n background: transparent;\r\n position: relative;\r\n z-index: 1;\r\n}\r\n\r\n\r\n._code-ctn code{\r\n background: transparent;\r\n position: relative;\r\n z-index: 1;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/assets/index.css"],"sourceRoot":""}

View File

@ -1 +0,0 @@
{"version":3,"sources":["assets/index.css"],"names":[],"mappings":"AAAA,UAIE,yBACA,sJAA4J,CAG9J,oBAPE,SACA,UACA,QAAU,CAWZ,MACE,sBAAwB,CAG1B,EACE,qBACA,aAAe,CAEjB,MACE,wBAA0B,CAE5B,YACE,qBAAuB,CAGzB,MACE,eAAiB,CAGnB,yCACE,UAEE,iBAAmB,CAGrB,aACI,UAAY,CAIhB,+DAEI,uDACA,iBACA,eACA,SACA,WACA,8BACQ,qBAAuB,CAGnC,+BACI,iBAAmB,CAEvB,WACI,cAAgB,CAEpB,uEACI,kBACA,kBAAmB,CAGvB,uDACI,KAAS,CACZ,CAGH,EACE,8BACQ,qBAAuB,CAGjC,cACE,kBACA,cACA,eAAiB,CAGnB,MACE,cAAgB,CAGlB,UACE,qBACA,kBACA,cACA,kBACA,QACA,oCACA,iBAAmB,CAGrB,kBACE,WACA,kBACA,OACA,SACA,yBACA,YACA,SAAW,CAGb,WACE,kBACA,SACA,iBAAmB,CAGrB,qBACE,QACA,6BACA,eAAmB,CAGrB,WACE,kBACA,YACA,yBACA,kBACA,gBACA,gBACA,mBAEA,eAAiB,CAGnB,gBAJE,gBAAkB,CAgBnB,KAXC,yBACA,sBACA,qBACA,iBACA,gBACA,kBACA,MACA,OACA,UAAY,CAKd,MACE,yBACA,YACA,UAAY,CAYd,+BACE,uBACE,kBACA,SAAW","file":"static/css/zh-cn.86761e06.css","sourcesContent":["html,body{\n margin: 0;\n padding: 0;\n border: 0;\n background-color: #f6f8fa;\n font-family:proxima-nova,\"Helvetica Neue\",Helvetica,Roboto, PT Sans, DejaVu Sans, Arial,Segoe UI Light,Segoe UI,Microsoft Jhenghei,Mirco Yahei,'sans-serif';\n}\n\nimg,ul,li{\n margin: 0;\n padding: 0;\n border: 0;\n}\n\nul,li{\n list-style:disc inside ;\n}\n\na{\n text-decoration: none;\n color: #0366d6;\n}\ntable{\n border-collapse: collapse;\n}\ntable,td,th{\n border: 1px solid #ccc;\n}\n\ntd,th{\n padding: 4px 8px;\n}\n\n@media only screen and (max-width: 768px) {\n html,body{\n\n overflow-x: hidden;\n }\n\n .content img{\n width: 100%;\n }\n\n\n .content code[class*=\"language-\"],\n .content pre[class*=\"language-\"] {\n font-family: Consolas, \"Liberation Mono\", Courier, monospace;\n line-height: 18px;\n font-size: 12px;\n margin: 0;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .content pre[class*=\"language-\"] {\n padding-left: 10px;\n }\n .content p{\n font-size: 14px;\n }\n .content p,.content h1,.content h2,.content h3,.content h4,.content h5{\n padding-left:10px;\n padding-right:10px;\n }\n\n .line-highlight:before, .line-highlight[data-end]:after{\n top: 0em;\n }\n}\n\n*{\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\npre code.hljs{\n padding-left: 14px;\n display: block;\n overflow-x: auto;\n}\n\n.hljs{\n font-size: 14px;\n}\n\ncode.hljs{\n display: inline-block;\n overflow-x: hidden;\n text-indent: 0;\n position: relative;\n top: 8px;\n background-color:rgba(27,31,35,.05); \n border-radius: 3px;\n}\n\nblockquote::before{\n content: '';\n position: absolute;\n left: 0;\n top:11px;\n background-color: #dfe2e5;\n height: 24px;\n width: 4px;\n}\n\nblockquote {\n position: relative;\n margin: 0;\n padding-left: 20px; \n}\n\n._code-ctn code.hljs{\n top: 2px;\n background-color:transparent;\n border-radius: 0px;\n}\n\n._code-ctn{\n position: relative;\n height: auto;\n background-color: #282C34;\n border-radius: 3px;\n padding-top:1px; \n margin-top: 15px; \n padding-bottom:1px; \n line-height: 18px;\n max-width: 900px;\n}\n\n._hl{\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding-top: 5px;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n line-height: 18px;\n\n}\n\n._hll{\n background-color: rgb(72, 77, 87);\n height: 18px;\n width: 100%;\n\n}\n\n\n._code-ctn pre{\n background: transparent;\n position: relative;\n z-index: 1;\n}\n\n\n._code-ctn code{\n background: transparent;\n position: relative;\n z-index: 1;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/assets/index.css"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([0],{36:function(n,t){n.exports="## Other Docs\n\n### Markdown \u6269\u5c55\n\n\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u8bed\u6cd5\u9ad8\u4eae\u4ee3\u7801\u5757\u4e2d\u7684\u67d0\u4e9b\u884c:\n\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\n\n\u8f93\u51fa:\n\n```js {4,20-24}\nimport { render, WeElement, define } from 'omi'\n\ndefine('my-counter', class extends WeElement {\n static observe = true\n \n data = {\n count: 1\n }\n\n sub = () => {\n this.data.count--\n }\n\n add = () => {\n this.data.count++\n }\n\n render() {\n return (\n <div>\n <button onClick={this.sub}>-</button>\n <span>{this.data.count}</span>\n <button onClick={this.add}>+</button>\n </div>\n )\n }\n })\n\nrender(<my-counter />, 'body')\n```"}});
//# sourceMappingURL=0.4c4a2a07.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/0.4c4a2a07.chunk.js","docs/zh-cn/other-docs.md"],"names":["webpackJsonp","36","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/0.4c4a2a07.chunk.js","sourcesContent":["webpackJsonp([0],{\n\n/***/ 36:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Other Docs\\n\\n### Markdown 扩展\\n\\n你可以通过下面的语法高亮代码块中的某些行:\\n\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\n\\n输出:\\n\\n```js {4,20-24}\\nimport { render, WeElement, define } from 'omi'\\n\\ndefine('my-counter', class extends WeElement {\\n static observe = true\\n \\n data = {\\n count: 1\\n }\\n\\n sub = () => {\\n this.data.count--\\n }\\n\\n add = () => {\\n this.data.count++\\n }\\n\\n render() {\\n return (\\n <div>\\n <button onClick={this.sub}>-</button>\\n <span>{this.data.count}</span>\\n <button onClick={this.add}>+</button>\\n </div>\\n )\\n }\\n })\\n\\nrender(<my-counter />, 'body')\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/0.4c4a2a07.chunk.js","module.exports = \"## Other Docs\\n\\n### Markdown 扩展\\n\\n你可以通过下面的语法高亮代码块中的某些行:\\n\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\n\\n输出:\\n\\n```js {4,20-24}\\nimport { render, WeElement, define } from 'omi'\\n\\ndefine('my-counter', class extends WeElement {\\n static observe = true\\n \\n data = {\\n count: 1\\n }\\n\\n sub = () => {\\n this.data.count--\\n }\\n\\n add = () => {\\n this.data.count++\\n }\\n\\n render() {\\n return (\\n <div>\\n <button onClick={this.sub}>-</button>\\n <span>{this.data.count}</span>\\n <button onClick={this.add}>+</button>\\n </div>\\n )\\n }\\n })\\n\\nrender(<my-counter />, 'body')\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/other-docs.md\n// module id = 36\n// module chunks = 0"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([0],{36:function(n,r){n.exports="## Other Docs\r\n\r\n### Markdown \u6269\u5c55\r\n\r\n\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u8bed\u6cd5\u9ad8\u4eae\u4ee3\u7801\u5757\u4e2d\u7684\u67d0\u4e9b\u884c:\r\n\r\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\r\n\r\n\u8f93\u51fa:\r\n\r\n```js {4,20-24}\r\nimport { render, WeElement, define } from 'omi'\r\n\r\ndefine('my-counter', class extends WeElement {\r\n static observe = true\r\n \r\n data = {\r\n count: 1\r\n }\r\n\r\n sub = () => {\r\n this.data.count--\r\n }\r\n\r\n add = () => {\r\n this.data.count++\r\n }\r\n\r\n render() {\r\n return (\r\n <div>\r\n <button onClick={this.sub}>-</button>\r\n <span>{this.data.count}</span>\r\n <button onClick={this.add}>+</button>\r\n </div>\r\n )\r\n }\r\n})\r\n\r\nrender(<my-counter />, 'body')\r\n```"}});
//# sourceMappingURL=0.de7771e5.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/0.de7771e5.chunk.js","docs/zh-cn/other-docs.md"],"names":["webpackJsonp","36","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/0.de7771e5.chunk.js","sourcesContent":["webpackJsonp([0],{\n\n/***/ 36:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Other Docs\\r\\n\\r\\n### Markdown 扩展\\r\\n\\r\\n你可以通过下面的语法高亮代码块中的某些行:\\r\\n\\r\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\r\\n\\r\\n输出:\\r\\n\\r\\n```js {4,20-24}\\r\\nimport { render, WeElement, define } from 'omi'\\r\\n\\r\\ndefine('my-counter', class extends WeElement {\\r\\n static observe = true\\r\\n \\r\\n data = {\\r\\n count: 1\\r\\n }\\r\\n\\r\\n sub = () => {\\r\\n this.data.count--\\r\\n }\\r\\n\\r\\n add = () => {\\r\\n this.data.count++\\r\\n }\\r\\n\\r\\n render() {\\r\\n return (\\r\\n <div>\\r\\n <button onClick={this.sub}>-</button>\\r\\n <span>{this.data.count}</span>\\r\\n <button onClick={this.add}>+</button>\\r\\n </div>\\r\\n )\\r\\n }\\r\\n})\\r\\n\\r\\nrender(<my-counter />, 'body')\\r\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/0.de7771e5.chunk.js","module.exports = \"## Other Docs\\r\\n\\r\\n### Markdown 扩展\\r\\n\\r\\n你可以通过下面的语法高亮代码块中的某些行:\\r\\n\\r\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\r\\n\\r\\n输出:\\r\\n\\r\\n```js {4,20-24}\\r\\nimport { render, WeElement, define } from 'omi'\\r\\n\\r\\ndefine('my-counter', class extends WeElement {\\r\\n static observe = true\\r\\n \\r\\n data = {\\r\\n count: 1\\r\\n }\\r\\n\\r\\n sub = () => {\\r\\n this.data.count--\\r\\n }\\r\\n\\r\\n add = () => {\\r\\n this.data.count++\\r\\n }\\r\\n\\r\\n render() {\\r\\n return (\\r\\n <div>\\r\\n <button onClick={this.sub}>-</button>\\r\\n <span>{this.data.count}</span>\\r\\n <button onClick={this.add}>+</button>\\r\\n </div>\\r\\n )\\r\\n }\\r\\n})\\r\\n\\r\\nrender(<my-counter />, 'body')\\r\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/other-docs.md\n// module id = 36\n// module chunks = 0"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([1],{35:function(n,r){n.exports="## \u7b80\u4ecb\r\n\r\nMd2site \u662f\u57fa\u4e8e [Omi](https://github.com/Tencent/omi) \u7684\u4e00\u6b3e Markdown \u8f6c\u7f51\u7ad9\u5de5\u5177\uff0c\u4f7f\u7528\u7b80\u5355\uff0c\u751f\u6210\u7684\u6587\u4ef6\u8f7b\u5de7\uff0c\u529f\u80fd\u5f3a\u5927\u3002\r\n\r\n## \u7279\u6027\r\n\r\n* \u5b8c\u6574 markdown \u8bed\u6cd5\u652f\u6301\r\n* \u4ee3\u7801\u9ad8\u4eae\uff0c\u7279\u5b9a\u884c\u9ad8\u4eae\r\n* \u591a\u8bed\u8a00\u652f\u6301\r\n* \u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff0c\u624b\u673a\u9605\u8bfb\u4f53\u9a8c\u53cb\u597d\r\n* \u52a8\u6001\u52a0\u8f7d md \u6587\u4ef6\r\n* \u57fa\u4e8e [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) \u548c [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\uff0c\u517c\u5bb9 IE9+\r\n\r\n## \u5b89\u88c5\r\n\r\n``` bash {2}\r\nnpm i omi-cli -g \r\nomi init-md2site my-app \r\ncd my-app \r\nnpm start \r\nnpm run build \r\n```\r\n\r\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ \u53ef\u4ee5\u4e00\u6761\u547d\u4ee4\u76f4\u63a5\u4f7f\u7528).\r\n\r\n\u6587\u4ef6\u76ee\u5f55\u63cf\u8ff0:\r\n\r\n```\r\n\u251c\u2500 config\r\n\u251c\u2500 public\r\n\u251c\u2500 scripts\r\n\u251c\u2500 src\r\n\u2502 \u251c\u2500 assets\r\n\u2502 \u251c\u2500 docs //\u6587\u6863\u7684\u76ee\u5f55\r\n\u2502 \u2502 \u251c\u2500 en //\u82f1\u6587\u6587\u6863\u76ee\u5f55\r\n\u2502 \u2502 \u251c\u2500 zh-cn //\u7b80\u4f53\u4e2d\u6587\u76ee\u5f55\r\n\u2502 \u2502 \u2514\u2500 config.js //\u914d\u7f6e\r\n\u2502 \u251c\u2500 elements //\u6240\u6709\u7ec4\u4ef6\r\n\u2502 \u251c\u2500 store \r\n\u2502 \u251c\u2500 index.js //\u7f16\u8bd1\u7684\u5165\u53e3\uff0c\u5bf9\u5e94\u7f16\u8bd1\u6210 index.html\r\n\u2502 \u2514\u2500 zh-cn.js //\u7f16\u8bd1\u7684\u5165\u53e3\uff0c\u5bf9\u5e94\u7f16\u8bd1\u6210 zh-cn.html\r\n```\r\n\r\n### \u8868\u683c\u6d4b\u8bd5\r\n\r\n| | Hexo | Md2site |\r\n| ------------- |:-------------:|:-----:|\r\n| Markdown \u652f\u6301 | \u2605\u2605\u2605\u2605\u2605| \u2605\u2605\u2605\u2605\u2605 |\r\n| \u8f93\u51fa\u6587\u4ef6\u5c3a\u5bf8 | \u2605\u2605\u2605\u2606\u2606 | \u2605\u2605\u2605\u2606\u2606 |\r\n| \u4e0a\u624b\u96be\u5ea6 | \u2605\u2605\u2605\u2606\u2606| \u2605\u2605\u2605\u2606\u2606 |\r\n| \u4e8c\u6b21\u5f00\u53d1 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| \u4e3b\u9898\u548c\u63d2\u4ef6 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| \u4ee3\u7801\u9ad8\u4eae | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| \u56fd\u9645\u5316 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| \u54cd\u5e94\u5f0f | \u2605\u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605\u2605 |"}});
//# sourceMappingURL=1.3d241617.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/1.3d241617.chunk.js","docs/zh-cn/introduction.md"],"names":["webpackJsonp","35","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/1.3d241617.chunk.js","sourcesContent":["webpackJsonp([1],{\n\n/***/ 35:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## 简介\\r\\n\\r\\nMd2site 是基于 [Omi](https://github.com/Tencent/omi) 的一款 Markdown 转网站工具,使用简单,生成的文件轻巧,功能强大。\\r\\n\\r\\n## 特性\\r\\n\\r\\n* 完整 markdown 语法支持\\r\\n* 代码高亮,特定行高亮\\r\\n* 多语言支持\\r\\n* 响应式设计,手机阅读体验友好\\r\\n* 动态加载 md 文件\\r\\n* 基于 [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) 和 [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router),兼容 IE9+\\r\\n\\r\\n## 安装\\r\\n\\r\\n``` bash {2}\\r\\nnpm i omi-cli -g \\r\\nomi init-md2site my-app \\r\\ncd my-app \\r\\nnpm start \\r\\nnpm run build \\r\\n```\\r\\n\\r\\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ 可以一条命令直接使用).\\r\\n\\r\\n文件目录描述:\\r\\n\\r\\n```\\r\\n├─ config\\r\\n├─ public\\r\\n├─ scripts\\r\\n├─ src\\r\\n│ ├─ assets\\r\\n│ ├─ docs //文档的目录\\r\\n│ │ ├─ en //英文文档目录\\r\\n│ │ ├─ zh-cn //简体中文目录\\r\\n│ │ └─ config.js //配置\\r\\n│ ├─ elements //所有组件\\r\\n│ ├─ store \\r\\n│ ├─ index.js //编译的入口,对应编译成 index.html\\r\\n│ └─ zh-cn.js //编译的入口,对应编译成 zh-cn.html\\r\\n```\\r\\n\\r\\n### 表格测试\\r\\n\\r\\n| | Hexo | Md2site |\\r\\n| ------------- |:-------------:|:-----:|\\r\\n| Markdown 支持 | ★★★★★| ★★★★★ |\\r\\n| 输出文件尺寸 | ★★★☆☆ | ★★★☆☆ |\\r\\n| 上手难度 | ★★★☆☆| ★★★☆☆ |\\r\\n| 二次开发 | ★★★★☆ | ★★★★☆ |\\r\\n| 主题和插件 | ★★★★☆ | ★★★★☆ |\\r\\n| 代码高亮 | ★★★★☆ | ★★★★☆ |\\r\\n| 国际化 | ★★★★☆ | ★★★★☆ |\\r\\n| 响应式 | ★★★★★ | ★★★★★ |\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/1.3d241617.chunk.js","module.exports = \"## 简介\\r\\n\\r\\nMd2site 是基于 [Omi](https://github.com/Tencent/omi) 的一款 Markdown 转网站工具,使用简单,生成的文件轻巧,功能强大。\\r\\n\\r\\n## 特性\\r\\n\\r\\n* 完整 markdown 语法支持\\r\\n* 代码高亮,特定行高亮\\r\\n* 多语言支持\\r\\n* 响应式设计,手机阅读体验友好\\r\\n* 动态加载 md 文件\\r\\n* 基于 [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) 和 [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router),兼容 IE9+\\r\\n\\r\\n## 安装\\r\\n\\r\\n``` bash {2}\\r\\nnpm i omi-cli -g \\r\\nomi init-md2site my-app \\r\\ncd my-app \\r\\nnpm start \\r\\nnpm run build \\r\\n```\\r\\n\\r\\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ 可以一条命令直接使用).\\r\\n\\r\\n文件目录描述:\\r\\n\\r\\n```\\r\\n├─ config\\r\\n├─ public\\r\\n├─ scripts\\r\\n├─ src\\r\\n│ ├─ assets\\r\\n│ ├─ docs //文档的目录\\r\\n│ │ ├─ en //英文文档目录\\r\\n│ │ ├─ zh-cn //简体中文目录\\r\\n│ │ └─ config.js //配置\\r\\n│ ├─ elements //所有组件\\r\\n│ ├─ store \\r\\n│ ├─ index.js //编译的入口,对应编译成 index.html\\r\\n│ └─ zh-cn.js //编译的入口,对应编译成 zh-cn.html\\r\\n```\\r\\n\\r\\n### 表格测试\\r\\n\\r\\n| | Hexo | Md2site |\\r\\n| ------------- |:-------------:|:-----:|\\r\\n| Markdown 支持 | ★★★★★| ★★★★★ |\\r\\n| 输出文件尺寸 | ★★★☆☆ | ★★★☆☆ |\\r\\n| 上手难度 | ★★★☆☆| ★★★☆☆ |\\r\\n| 二次开发 | ★★★★☆ | ★★★★☆ |\\r\\n| 主题和插件 | ★★★★☆ | ★★★★☆ |\\r\\n| 代码高亮 | ★★★★☆ | ★★★★☆ |\\r\\n| 国际化 | ★★★★☆ | ★★★★☆ |\\r\\n| 响应式 | ★★★★★ | ★★★★★ |\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/introduction.md\n// module id = 35\n// module chunks = 1"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([1],{35:function(n,t){n.exports="## \u7b80\u4ecb\n\nMd2site \u662f\u57fa\u4e8e [Omi](https://github.com/Tencent/omi) \u7684\u4e00\u6b3e Markdown \u8f6c\u7f51\u7ad9\u5de5\u5177\uff0c\u4f7f\u7528\u7b80\u5355\uff0c\u751f\u6210\u7684\u6587\u4ef6\u8f7b\u5de7\uff0c\u529f\u80fd\u5f3a\u5927\u3002\n\n## \u7279\u6027\n\n* \u5b8c\u6574 markdown \u8bed\u6cd5\u652f\u6301\n* \u4ee3\u7801\u9ad8\u4eae\uff0c\u7279\u5b9a\u884c\u9ad8\u4eae\n* \u591a\u8bed\u8a00\u652f\u6301\n* \u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff0c\u624b\u673a\u9605\u8bfb\u4f53\u9a8c\u53cb\u597d\n* \u52a8\u6001\u52a0\u8f7d md \u6587\u4ef6\n* \u57fa\u4e8e [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) \u548c [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\uff0c\u517c\u5bb9 IE9+\n\n## \u5b89\u88c5\n\n``` bash {2}\nnpm i omi-cli -g \nomi init-md2site my-app \ncd my-app \nnpm start \nnpm run build \n```\n\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ \u53ef\u4ee5\u4e00\u6761\u547d\u4ee4\u76f4\u63a5\u4f7f\u7528).\n\n\u6587\u4ef6\u76ee\u5f55\u63cf\u8ff0:\n\n```\n\u251c\u2500 config\n\u251c\u2500 public\n\u251c\u2500 scripts\n\u251c\u2500 src\n\u2502 \u251c\u2500 assets\n\u2502 \u251c\u2500 docs //\u6587\u6863\u7684\u76ee\u5f55\n\u2502 \u2502 \u251c\u2500 en //\u82f1\u6587\u6587\u6863\u76ee\u5f55\n\u2502 \u2502 \u251c\u2500 zh-cn //\u7b80\u4f53\u4e2d\u6587\u76ee\u5f55\n\u2502 \u2502 \u2514\u2500 config.js //\u914d\u7f6e\n\u2502 \u251c\u2500 elements //\u6240\u6709\u7ec4\u4ef6\n\u2502 \u251c\u2500 store \n\u2502 \u251c\u2500 index.js //\u7f16\u8bd1\u7684\u5165\u53e3\uff0c\u5bf9\u5e94\u7f16\u8bd1\u6210 index.html\n\u2502 \u2514\u2500 zh-cn.js //\u7f16\u8bd1\u7684\u5165\u53e3\uff0c\u5bf9\u5e94\u7f16\u8bd1\u6210 zh-cn.html\n```\n\n### \u8868\u683c\u6d4b\u8bd5\n\n| | Hexo | Md2site |\n| ------------- |:-------------:|:-----:|\n| Markdown \u652f\u6301 | \u2605\u2605\u2605\u2605\u2605| \u2605\u2605\u2605\u2605\u2605 |\n| \u8f93\u51fa\u6587\u4ef6\u5c3a\u5bf8 | \u2605\u2605\u2605\u2606\u2606 | \u2605\u2605\u2605\u2606\u2606 |\n| \u4e0a\u624b\u96be\u5ea6 | \u2605\u2605\u2605\u2606\u2606| \u2605\u2605\u2605\u2606\u2606 |\n| \u4e8c\u6b21\u5f00\u53d1 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| \u4e3b\u9898\u548c\u63d2\u4ef6 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| \u4ee3\u7801\u9ad8\u4eae | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| \u56fd\u9645\u5316 | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| \u54cd\u5e94\u5f0f | \u2605\u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605\u2605 |"}});
//# sourceMappingURL=1.64c0953e.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/1.64c0953e.chunk.js","docs/zh-cn/introduction.md"],"names":["webpackJsonp","35","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/1.64c0953e.chunk.js","sourcesContent":["webpackJsonp([1],{\n\n/***/ 35:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## 简介\\n\\nMd2site 是基于 [Omi](https://github.com/Tencent/omi) 的一款 Markdown 转网站工具,使用简单,生成的文件轻巧,功能强大。\\n\\n## 特性\\n\\n* 完整 markdown 语法支持\\n* 代码高亮,特定行高亮\\n* 多语言支持\\n* 响应式设计,手机阅读体验友好\\n* 动态加载 md 文件\\n* 基于 [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) 和 [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router),兼容 IE9+\\n\\n## 安装\\n\\n``` bash {2}\\nnpm i omi-cli -g \\nomi init-md2site my-app \\ncd my-app \\nnpm start \\nnpm run build \\n```\\n\\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ 可以一条命令直接使用).\\n\\n文件目录描述:\\n\\n```\\n├─ config\\n├─ public\\n├─ scripts\\n├─ src\\n│ ├─ assets\\n│ ├─ docs //文档的目录\\n│ │ ├─ en //英文文档目录\\n│ │ ├─ zh-cn //简体中文目录\\n│ │ └─ config.js //配置\\n│ ├─ elements //所有组件\\n│ ├─ store \\n│ ├─ index.js //编译的入口,对应编译成 index.html\\n│ └─ zh-cn.js //编译的入口,对应编译成 zh-cn.html\\n```\\n\\n### 表格测试\\n\\n| | Hexo | Md2site |\\n| ------------- |:-------------:|:-----:|\\n| Markdown 支持 | ★★★★★| ★★★★★ |\\n| 输出文件尺寸 | ★★★☆☆ | ★★★☆☆ |\\n| 上手难度 | ★★★☆☆| ★★★☆☆ |\\n| 二次开发 | ★★★★☆ | ★★★★☆ |\\n| 主题和插件 | ★★★★☆ | ★★★★☆ |\\n| 代码高亮 | ★★★★☆ | ★★★★☆ |\\n| 国际化 | ★★★★☆ | ★★★★☆ |\\n| 响应式 | ★★★★★ | ★★★★★ |\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/1.64c0953e.chunk.js","module.exports = \"## 简介\\n\\nMd2site 是基于 [Omi](https://github.com/Tencent/omi) 的一款 Markdown 转网站工具,使用简单,生成的文件轻巧,功能强大。\\n\\n## 特性\\n\\n* 完整 markdown 语法支持\\n* 代码高亮,特定行高亮\\n* 多语言支持\\n* 响应式设计,手机阅读体验友好\\n* 动态加载 md 文件\\n* 基于 [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) 和 [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router),兼容 IE9+\\n\\n## 安装\\n\\n``` bash {2}\\nnpm i omi-cli -g \\nomi init-md2site my-app \\ncd my-app \\nnpm start \\nnpm run build \\n```\\n\\n> `npx omi-cli init-md2site my-app` (npm v5.2.0+ 可以一条命令直接使用).\\n\\n文件目录描述:\\n\\n```\\n├─ config\\n├─ public\\n├─ scripts\\n├─ src\\n│ ├─ assets\\n│ ├─ docs //文档的目录\\n│ │ ├─ en //英文文档目录\\n│ │ ├─ zh-cn //简体中文目录\\n│ │ └─ config.js //配置\\n│ ├─ elements //所有组件\\n│ ├─ store \\n│ ├─ index.js //编译的入口,对应编译成 index.html\\n│ └─ zh-cn.js //编译的入口,对应编译成 zh-cn.html\\n```\\n\\n### 表格测试\\n\\n| | Hexo | Md2site |\\n| ------------- |:-------------:|:-----:|\\n| Markdown 支持 | ★★★★★| ★★★★★ |\\n| 输出文件尺寸 | ★★★☆☆ | ★★★☆☆ |\\n| 上手难度 | ★★★☆☆| ★★★☆☆ |\\n| 二次开发 | ★★★★☆ | ★★★★☆ |\\n| 主题和插件 | ★★★★☆ | ★★★★☆ |\\n| 代码高亮 | ★★★★☆ | ★★★★☆ |\\n| 国际化 | ★★★★☆ | ★★★★☆ |\\n| 响应式 | ★★★★★ | ★★★★★ |\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/introduction.md\n// module id = 35\n// module chunks = 1"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([2],{34:function(n,r){n.exports="## \u914d\u7f6e\r\n\r\n```js\r\nconst config = {\r\n lan: 'en',\r\n menus: {\r\n cn: [\r\n {\r\n title: '\u5feb\u901f\u5f00\u59cb',\r\n list: [\r\n { name: '\u5b89\u88c5', md: 'installation' },\r\n { name: '\u914d\u7f6e', md: 'config' }\r\n ]\r\n },\r\n {\r\n title: '\u5176\u4ed6\u7248\u5757',\r\n list: [\r\n { name: '\u6d4b\u8bd5\u5176\u4ed6', md: 'other-docs' }\r\n ]\r\n }\r\n ],\r\n en: [\r\n {\r\n title: 'QUICK START',\r\n list: [\r\n { name: 'Introduction', md: 'introduction' },\r\n { name: 'Config', md: 'config' }\r\n ]\r\n },\r\n {\r\n title: 'Other',\r\n list: [\r\n { name: 'Other Docs', md: 'other-docs' }\r\n ]\r\n }\r\n ]\r\n }\r\n}\r\n\r\nexport default config\r\n```"}});
//# sourceMappingURL=2.916a2d79.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/2.916a2d79.chunk.js","docs/zh-cn/config.md"],"names":["webpackJsonp","34","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/2.916a2d79.chunk.js","sourcesContent":["webpackJsonp([2],{\n\n/***/ 34:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## 配置\\r\\n\\r\\n```js\\r\\nconst config = {\\r\\n lan: 'en',\\r\\n menus: {\\r\\n cn: [\\r\\n {\\r\\n title: '快速开始',\\r\\n list: [\\r\\n { name: '安装', md: 'installation' },\\r\\n { name: '配置', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: '其他版块',\\r\\n list: [\\r\\n { name: '测试其他', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ],\\r\\n en: [\\r\\n {\\r\\n title: 'QUICK START',\\r\\n list: [\\r\\n { name: 'Introduction', md: 'introduction' },\\r\\n { name: 'Config', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: 'Other',\\r\\n list: [\\r\\n { name: 'Other Docs', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\\r\\n\\r\\nexport default config\\r\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/2.916a2d79.chunk.js","module.exports = \"## 配置\\r\\n\\r\\n```js\\r\\nconst config = {\\r\\n lan: 'en',\\r\\n menus: {\\r\\n cn: [\\r\\n {\\r\\n title: '快速开始',\\r\\n list: [\\r\\n { name: '安装', md: 'installation' },\\r\\n { name: '配置', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: '其他版块',\\r\\n list: [\\r\\n { name: '测试其他', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ],\\r\\n en: [\\r\\n {\\r\\n title: 'QUICK START',\\r\\n list: [\\r\\n { name: 'Introduction', md: 'introduction' },\\r\\n { name: 'Config', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: 'Other',\\r\\n list: [\\r\\n { name: 'Other Docs', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\\r\\n\\r\\nexport default config\\r\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/config.md\n// module id = 34\n// module chunks = 2"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([2],{34:function(n,t){n.exports="## \u914d\u7f6e\n\n```js\nconst config = {\n lan: 'en',\n menus: {\n cn: [\n {\n title: '\u5feb\u901f\u5f00\u59cb',\n list: [\n { name: '\u5b89\u88c5', md: 'installation' },\n { name: '\u914d\u7f6e', md: 'config' }\n ]\n },\n {\n title: '\u5176\u4ed6\u7248\u5757',\n list: [\n { name: '\u6d4b\u8bd5\u5176\u4ed6', md: 'other-docs' }\n ]\n }\n ],\n en: [\n {\n title: 'QUICK START',\n list: [\n { name: 'Introduction', md: 'introduction' },\n { name: 'Config', md: 'config' }\n ]\n },\n {\n title: 'Other',\n list: [\n { name: 'Other Docs', md: 'other-docs' }\n ]\n }\n ]\n }\n}\n\nexport default config\n```"}});
//# sourceMappingURL=2.941e2895.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/2.941e2895.chunk.js","docs/zh-cn/config.md"],"names":["webpackJsonp","34","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/2.941e2895.chunk.js","sourcesContent":["webpackJsonp([2],{\n\n/***/ 34:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## 配置\\n\\n```js\\nconst config = {\\n lan: 'en',\\n menus: {\\n cn: [\\n {\\n title: '快速开始',\\n list: [\\n { name: '安装', md: 'installation' },\\n { name: '配置', md: 'config' }\\n ]\\n },\\n {\\n title: '其他版块',\\n list: [\\n { name: '测试其他', md: 'other-docs' }\\n ]\\n }\\n ],\\n en: [\\n {\\n title: 'QUICK START',\\n list: [\\n { name: 'Introduction', md: 'introduction' },\\n { name: 'Config', md: 'config' }\\n ]\\n },\\n {\\n title: 'Other',\\n list: [\\n { name: 'Other Docs', md: 'other-docs' }\\n ]\\n }\\n ]\\n }\\n}\\n\\nexport default config\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/2.941e2895.chunk.js","module.exports = \"## 配置\\n\\n```js\\nconst config = {\\n lan: 'en',\\n menus: {\\n cn: [\\n {\\n title: '快速开始',\\n list: [\\n { name: '安装', md: 'installation' },\\n { name: '配置', md: 'config' }\\n ]\\n },\\n {\\n title: '其他版块',\\n list: [\\n { name: '测试其他', md: 'other-docs' }\\n ]\\n }\\n ],\\n en: [\\n {\\n title: 'QUICK START',\\n list: [\\n { name: 'Introduction', md: 'introduction' },\\n { name: 'Config', md: 'config' }\\n ]\\n },\\n {\\n title: 'Other',\\n list: [\\n { name: 'Other Docs', md: 'other-docs' }\\n ]\\n }\\n ]\\n }\\n}\\n\\nexport default config\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/config.md\n// module id = 34\n// module chunks = 2"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([3],{33:function(n,r){n.exports="## Other Docs\r\n\r\n### Markdown Extensions\r\n\r\nYou can highlight some lines in the code block through the following syntax.\r\n\r\nInput:\r\n\r\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\r\n\r\nOutput:\r\n\r\n```js {4,20-24}\r\nimport { render, WeElement, define } from 'omi'\r\n\r\ndefine('my-counter', class extends WeElement {\r\n static observe = true\r\n \r\n data = {\r\n count: 1\r\n }\r\n\r\n sub = () => {\r\n this.data.count--\r\n }\r\n\r\n add = () => {\r\n this.data.count++\r\n }\r\n\r\n render() {\r\n return (\r\n <div>\r\n <button onClick={this.sub}>-</button>\r\n <span>{this.data.count}</span>\r\n <button onClick={this.add}>+</button>\r\n </div>\r\n )\r\n }\r\n})\r\n\r\nrender(<my-counter />, 'body')\r\n```"}});
//# sourceMappingURL=3.76509d8c.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/3.76509d8c.chunk.js","docs/en/other-docs.md"],"names":["webpackJsonp","33","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/3.76509d8c.chunk.js","sourcesContent":["webpackJsonp([3],{\n\n/***/ 33:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Other Docs\\r\\n\\r\\n### Markdown Extensions\\r\\n\\r\\nYou can highlight some lines in the code block through the following syntax.\\r\\n\\r\\nInput:\\r\\n\\r\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\r\\n\\r\\nOutput:\\r\\n\\r\\n```js {4,20-24}\\r\\nimport { render, WeElement, define } from 'omi'\\r\\n\\r\\ndefine('my-counter', class extends WeElement {\\r\\n static observe = true\\r\\n \\r\\n data = {\\r\\n count: 1\\r\\n }\\r\\n\\r\\n sub = () => {\\r\\n this.data.count--\\r\\n }\\r\\n\\r\\n add = () => {\\r\\n this.data.count++\\r\\n }\\r\\n\\r\\n render() {\\r\\n return (\\r\\n <div>\\r\\n <button onClick={this.sub}>-</button>\\r\\n <span>{this.data.count}</span>\\r\\n <button onClick={this.add}>+</button>\\r\\n </div>\\r\\n )\\r\\n }\\r\\n})\\r\\n\\r\\nrender(<my-counter />, 'body')\\r\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/3.76509d8c.chunk.js","module.exports = \"## Other Docs\\r\\n\\r\\n### Markdown Extensions\\r\\n\\r\\nYou can highlight some lines in the code block through the following syntax.\\r\\n\\r\\nInput:\\r\\n\\r\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\r\\n\\r\\nOutput:\\r\\n\\r\\n```js {4,20-24}\\r\\nimport { render, WeElement, define } from 'omi'\\r\\n\\r\\ndefine('my-counter', class extends WeElement {\\r\\n static observe = true\\r\\n \\r\\n data = {\\r\\n count: 1\\r\\n }\\r\\n\\r\\n sub = () => {\\r\\n this.data.count--\\r\\n }\\r\\n\\r\\n add = () => {\\r\\n this.data.count++\\r\\n }\\r\\n\\r\\n render() {\\r\\n return (\\r\\n <div>\\r\\n <button onClick={this.sub}>-</button>\\r\\n <span>{this.data.count}</span>\\r\\n <button onClick={this.add}>+</button>\\r\\n </div>\\r\\n )\\r\\n }\\r\\n})\\r\\n\\r\\nrender(<my-counter />, 'body')\\r\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/other-docs.md\n// module id = 33\n// module chunks = 3"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([3],{33:function(n,t){n.exports="## Other Docs\n\n### Markdown Extensions\n\nYou can highlight some lines in the code block through the following syntax.\n\nInput:\n\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\n\nOutput:\n\n```js {4,20-24}\nimport { render, WeElement, define } from 'omi'\n\ndefine('my-counter', class extends WeElement {\n static observe = true\n \n data = {\n count: 1\n }\n\n sub = () => {\n this.data.count--\n }\n\n add = () => {\n this.data.count++\n }\n\n render() {\n return (\n <div>\n <button onClick={this.sub}>-</button>\n <span>{this.data.count}</span>\n <button onClick={this.add}>+</button>\n </div>\n )\n }\n })\n\nrender(<my-counter />, 'body')\n```"}});
//# sourceMappingURL=3.cd5a5a89.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/3.cd5a5a89.chunk.js","docs/en/other-docs.md"],"names":["webpackJsonp","33","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/3.cd5a5a89.chunk.js","sourcesContent":["webpackJsonp([3],{\n\n/***/ 33:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Other Docs\\n\\n### Markdown Extensions\\n\\nYou can highlight some lines in the code block through the following syntax.\\n\\nInput:\\n\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\n\\nOutput:\\n\\n```js {4,20-24}\\nimport { render, WeElement, define } from 'omi'\\n\\ndefine('my-counter', class extends WeElement {\\n static observe = true\\n \\n data = {\\n count: 1\\n }\\n\\n sub = () => {\\n this.data.count--\\n }\\n\\n add = () => {\\n this.data.count++\\n }\\n\\n render() {\\n return (\\n <div>\\n <button onClick={this.sub}>-</button>\\n <span>{this.data.count}</span>\\n <button onClick={this.add}>+</button>\\n </div>\\n )\\n }\\n })\\n\\nrender(<my-counter />, 'body')\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/3.cd5a5a89.chunk.js","module.exports = \"## Other Docs\\n\\n### Markdown Extensions\\n\\nYou can highlight some lines in the code block through the following syntax.\\n\\nInput:\\n\\n![Line Highlighting ](https://act.weixin.qq.com/static/images/201812/2a6077789545f695b3f5758f32b5070e.png)\\n\\nOutput:\\n\\n```js {4,20-24}\\nimport { render, WeElement, define } from 'omi'\\n\\ndefine('my-counter', class extends WeElement {\\n static observe = true\\n \\n data = {\\n count: 1\\n }\\n\\n sub = () => {\\n this.data.count--\\n }\\n\\n add = () => {\\n this.data.count++\\n }\\n\\n render() {\\n return (\\n <div>\\n <button onClick={this.sub}>-</button>\\n <span>{this.data.count}</span>\\n <button onClick={this.add}>+</button>\\n </div>\\n )\\n }\\n })\\n\\nrender(<my-counter />, 'body')\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/other-docs.md\n// module id = 33\n// module chunks = 3"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([4],{32:function(n,e){n.exports="## Introduction \n\nMd2site is a fast, simple & powerful tool that can be used for transformation of markdown to website powered by [Omi framework](https://github.com/Tencent/omi).\n\n## Features\n\n* Complete markdown syntax support\n* Line Highlighting of code block with Simple syntax\n* Multi-Language Support\n* Responsive design\n* Dynamic loading of MD files\n* Based on [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) and [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\n\n## Usage\n\n``` bash {2}\nnpm i omi-cli -g \nomi init-md2site my-app \ncd my-app \nnpm start \nnpm run build \n```\n\n> `npx omi-cli init-md2site my-app` is also supported(npm v5.2.0+).\n\nDirectory description:\n\n```\n\u251c\u2500 config\n\u251c\u2500 public\n\u251c\u2500 scripts\n\u251c\u2500 src\n\u2502 \u251c\u2500 assets\n\u2502 \u251c\u2500 docs //Store all your md of docs \n\u2502 \u2502 \u251c\u2500 en //Store all your md of docs \n\u2502 \u2502 \u251c\u2500 zh-cn //Store all your md of docs \n\u2502 \u2502 \u2514\u2500 config.js //Config of your app\n\u2502 \u251c\u2500 elements //Store all custom elements\n\u2502 \u251c\u2500 store //Store all this store of pages\n\u2502 \u251c\u2500 index.js //Entry js of compiler\uff0cwill build to index.html\n\u2502 \u2514\u2500 zh-cn.js //Entry js of compiler\uff0cwill build to zh-cn.html\n```\n\n\n### Table Test\n\n| | Hexo | Md2site |\n| ------------- |:-------------:|:-----:|\n| Markdown support | \u2605\u2605\u2605\u2605\u2605| \u2605\u2605\u2605\u2605\u2605 |\n| File size of generated website | \u2605\u2605\u2605\u2606\u2606 | \u2605\u2605\u2605\u2606\u2606 |\n| Difficulty of getting started | \u2605\u2605\u2605\u2606\u2606| \u2605\u2605\u2605\u2606\u2606 |\n| Secondary development | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| Themes and plugins | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| Code highlight | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| Multi language support | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\n| Responsive | \u2605\u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605\u2605 |"}});
//# sourceMappingURL=4.05b33f01.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/4.05b33f01.chunk.js","docs/en/introduction.md"],"names":["webpackJsonp","32","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/4.05b33f01.chunk.js","sourcesContent":["webpackJsonp([4],{\n\n/***/ 32:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Introduction \\n\\nMd2site is a fast, simple & powerful tool that can be used for transformation of markdown to website powered by [Omi framework](https://github.com/Tencent/omi).\\n\\n## Features\\n\\n* Complete markdown syntax support\\n* Line Highlighting of code block with Simple syntax\\n* Multi-Language Support\\n* Responsive design\\n* Dynamic loading of MD files\\n* Based on [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) and [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\\n\\n## Usage\\n\\n``` bash {2}\\nnpm i omi-cli -g \\nomi init-md2site my-app \\ncd my-app \\nnpm start \\nnpm run build \\n```\\n\\n> `npx omi-cli init-md2site my-app` is also supported(npm v5.2.0+).\\n\\nDirectory description:\\n\\n```\\n├─ config\\n├─ public\\n├─ scripts\\n├─ src\\n│ ├─ assets\\n│ ├─ docs //Store all your md of docs \\n│ │ ├─ en //Store all your md of docs \\n│ │ ├─ zh-cn //Store all your md of docs \\n│ │ └─ config.js //Config of your app\\n│ ├─ elements //Store all custom elements\\n│ ├─ store //Store all this store of pages\\n│ ├─ index.js //Entry js of compilerwill build to index.html\\n│ └─ zh-cn.js //Entry js of compilerwill build to zh-cn.html\\n```\\n\\n\\n### Table Test\\n\\n| | Hexo | Md2site |\\n| ------------- |:-------------:|:-----:|\\n| Markdown support | ★★★★★| ★★★★★ |\\n| File size of generated website | ★★★☆☆ | ★★★☆☆ |\\n| Difficulty of getting started | ★★★☆☆| ★★★☆☆ |\\n| Secondary development | ★★★★☆ | ★★★★☆ |\\n| Themes and plugins | ★★★★☆ | ★★★★☆ |\\n| Code highlight | ★★★★☆ | ★★★★☆ |\\n| Multi language support | ★★★★☆ | ★★★★☆ |\\n| Responsive | ★★★★★ | ★★★★★ |\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/4.05b33f01.chunk.js","module.exports = \"## Introduction \\n\\nMd2site is a fast, simple & powerful tool that can be used for transformation of markdown to website powered by [Omi framework](https://github.com/Tencent/omi).\\n\\n## Features\\n\\n* Complete markdown syntax support\\n* Line Highlighting of code block with Simple syntax\\n* Multi-Language Support\\n* Responsive design\\n* Dynamic loading of MD files\\n* Based on [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) and [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\\n\\n## Usage\\n\\n``` bash {2}\\nnpm i omi-cli -g \\nomi init-md2site my-app \\ncd my-app \\nnpm start \\nnpm run build \\n```\\n\\n> `npx omi-cli init-md2site my-app` is also supported(npm v5.2.0+).\\n\\nDirectory description:\\n\\n```\\n├─ config\\n├─ public\\n├─ scripts\\n├─ src\\n│ ├─ assets\\n│ ├─ docs //Store all your md of docs \\n│ │ ├─ en //Store all your md of docs \\n│ │ ├─ zh-cn //Store all your md of docs \\n│ │ └─ config.js //Config of your app\\n│ ├─ elements //Store all custom elements\\n│ ├─ store //Store all this store of pages\\n│ ├─ index.js //Entry js of compilerwill build to index.html\\n│ └─ zh-cn.js //Entry js of compilerwill build to zh-cn.html\\n```\\n\\n\\n### Table Test\\n\\n| | Hexo | Md2site |\\n| ------------- |:-------------:|:-----:|\\n| Markdown support | ★★★★★| ★★★★★ |\\n| File size of generated website | ★★★☆☆ | ★★★☆☆ |\\n| Difficulty of getting started | ★★★☆☆| ★★★☆☆ |\\n| Secondary development | ★★★★☆ | ★★★★☆ |\\n| Themes and plugins | ★★★★☆ | ★★★★☆ |\\n| Code highlight | ★★★★☆ | ★★★★☆ |\\n| Multi language support | ★★★★☆ | ★★★★☆ |\\n| Responsive | ★★★★★ | ★★★★★ |\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/introduction.md\n// module id = 32\n// module chunks = 4"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
webpackJsonp([4],{32:function(n,r){n.exports="## Introduction \r\n\r\nMd2site is a fast, simple & powerful tool that can be used for transformation of markdown to website powered by [Omi framework](https://github.com/Tencent/omi).\r\n\r\n## Features\r\n\r\n* Complete markdown syntax support\r\n* Line Highlighting of code block with Simple syntax\r\n* Multi-Language Support\r\n* Responsive design\r\n* Dynamic loading of MD files\r\n* Based on [Omio framework](https://github.com/Tencent/omi/tree/master/packages/omio) and [omi-router](https://github.com/Tencent/omi/tree/master/packages/omi-router)\r\n\r\n## Usage\r\n\r\n``` bash {2}\r\nnpm i omi-cli -g \r\nomi init-md2site my-app \r\ncd my-app \r\nnpm start \r\nnpm run build \r\n```\r\n\r\n> `npx omi-cli init-md2site my-app` is also supported(npm v5.2.0+).\r\n\r\nDirectory description:\r\n\r\n```\r\n\u251c\u2500 config\r\n\u251c\u2500 public\r\n\u251c\u2500 scripts\r\n\u251c\u2500 src\r\n\u2502 \u251c\u2500 assets\r\n\u2502 \u251c\u2500 docs //Store all your md of docs \r\n\u2502 \u2502 \u251c\u2500 en //Store all your md of docs \r\n\u2502 \u2502 \u251c\u2500 zh-cn //Store all your md of docs \r\n\u2502 \u2502 \u2514\u2500 config.js //Config of your app\r\n\u2502 \u251c\u2500 elements //Store all custom elements\r\n\u2502 \u251c\u2500 store //Store all this store of pages\r\n\u2502 \u251c\u2500 index.js //Entry js of compiler\uff0cwill build to index.html\r\n\u2502 \u2514\u2500 zh-cn.js //Entry js of compiler\uff0cwill build to zh-cn.html\r\n```\r\n\r\n\r\n### Table Test\r\n\r\n| | Hexo | Md2site |\r\n| ------------- |:-------------:|:-----:|\r\n| Markdown support | \u2605\u2605\u2605\u2605\u2605| \u2605\u2605\u2605\u2605\u2605 |\r\n| File size of generated website | \u2605\u2605\u2605\u2606\u2606 | \u2605\u2605\u2605\u2606\u2606 |\r\n| Difficulty of getting started | \u2605\u2605\u2605\u2606\u2606| \u2605\u2605\u2605\u2606\u2606 |\r\n| Secondary development | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| Themes and plugins | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| Code highlight | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| Multi language support | \u2605\u2605\u2605\u2605\u2606 | \u2605\u2605\u2605\u2605\u2606 |\r\n| Responsive | \u2605\u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605\u2605 |"}});
//# sourceMappingURL=4.466db21e.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
webpackJsonp([5],{31:function(n,r){n.exports="## Config\r\n\r\n```js\r\nconst config = {\r\n lan: 'en',\r\n menus: {\r\n cn: [\r\n {\r\n title: '\u5feb\u901f\u5f00\u59cb',\r\n list: [\r\n { name: '\u5b89\u88c5', md: 'installation' },\r\n { name: '\u914d\u7f6e', md: 'config' }\r\n ]\r\n },\r\n {\r\n title: '\u5176\u4ed6\u7248\u5757',\r\n list: [\r\n { name: '\u6d4b\u8bd5\u5176\u4ed6', md: 'other-docs' }\r\n ]\r\n }\r\n ],\r\n en: [\r\n {\r\n title: 'QUICK START',\r\n list: [\r\n { name: 'Introduction', md: 'introduction' },\r\n { name: 'Config', md: 'config' }\r\n ]\r\n },\r\n {\r\n title: 'Other',\r\n list: [\r\n { name: 'Other Docs', md: 'other-docs' }\r\n ]\r\n }\r\n ]\r\n }\r\n}\r\n\r\nexport default config\r\n```"}});
//# sourceMappingURL=5.499a3d67.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/5.499a3d67.chunk.js","docs/en/config.md"],"names":["webpackJsonp","31","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/5.499a3d67.chunk.js","sourcesContent":["webpackJsonp([5],{\n\n/***/ 31:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Config\\r\\n\\r\\n```js\\r\\nconst config = {\\r\\n lan: 'en',\\r\\n menus: {\\r\\n cn: [\\r\\n {\\r\\n title: '快速开始',\\r\\n list: [\\r\\n { name: '安装', md: 'installation' },\\r\\n { name: '配置', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: '其他版块',\\r\\n list: [\\r\\n { name: '测试其他', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ],\\r\\n en: [\\r\\n {\\r\\n title: 'QUICK START',\\r\\n list: [\\r\\n { name: 'Introduction', md: 'introduction' },\\r\\n { name: 'Config', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: 'Other',\\r\\n list: [\\r\\n { name: 'Other Docs', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\\r\\n\\r\\nexport default config\\r\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/5.499a3d67.chunk.js","module.exports = \"## Config\\r\\n\\r\\n```js\\r\\nconst config = {\\r\\n lan: 'en',\\r\\n menus: {\\r\\n cn: [\\r\\n {\\r\\n title: '快速开始',\\r\\n list: [\\r\\n { name: '安装', md: 'installation' },\\r\\n { name: '配置', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: '其他版块',\\r\\n list: [\\r\\n { name: '测试其他', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ],\\r\\n en: [\\r\\n {\\r\\n title: 'QUICK START',\\r\\n list: [\\r\\n { name: 'Introduction', md: 'introduction' },\\r\\n { name: 'Config', md: 'config' }\\r\\n ]\\r\\n },\\r\\n {\\r\\n title: 'Other',\\r\\n list: [\\r\\n { name: 'Other Docs', md: 'other-docs' }\\r\\n ]\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\\r\\n\\r\\nexport default config\\r\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/config.md\n// module id = 31\n// module chunks = 5"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
webpackJsonp([5],{31:function(n,t){n.exports="## Config\n\n```js\nconst config = {\n lan: 'en',\n menus: {\n cn: [\n {\n title: '\u5feb\u901f\u5f00\u59cb',\n list: [\n { name: '\u5b89\u88c5', md: 'installation' },\n { name: '\u914d\u7f6e', md: 'config' }\n ]\n },\n {\n title: '\u5176\u4ed6\u7248\u5757',\n list: [\n { name: '\u6d4b\u8bd5\u5176\u4ed6', md: 'other-docs' }\n ]\n }\n ],\n en: [\n {\n title: 'QUICK START',\n list: [\n { name: 'Introduction', md: 'introduction' },\n { name: 'Config', md: 'config' }\n ]\n },\n {\n title: 'Other',\n list: [\n { name: 'Other Docs', md: 'other-docs' }\n ]\n }\n ]\n }\n}\n\nexport default config\n```"}});
//# sourceMappingURL=5.c3feef23.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/5.c3feef23.chunk.js","docs/en/config.md"],"names":["webpackJsonp","31","module","exports"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/5.c3feef23.chunk.js","sourcesContent":["webpackJsonp([5],{\n\n/***/ 31:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Config\\n\\n```js\\nconst config = {\\n lan: 'en',\\n menus: {\\n cn: [\\n {\\n title: '快速开始',\\n list: [\\n { name: '安装', md: 'installation' },\\n { name: '配置', md: 'config' }\\n ]\\n },\\n {\\n title: '其他版块',\\n list: [\\n { name: '测试其他', md: 'other-docs' }\\n ]\\n }\\n ],\\n en: [\\n {\\n title: 'QUICK START',\\n list: [\\n { name: 'Introduction', md: 'introduction' },\\n { name: 'Config', md: 'config' }\\n ]\\n },\\n {\\n title: 'Other',\\n list: [\\n { name: 'Other Docs', md: 'other-docs' }\\n ]\\n }\\n ]\\n }\\n}\\n\\nexport default config\\n```\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/5.c3feef23.chunk.js","module.exports = \"## Config\\n\\n```js\\nconst config = {\\n lan: 'en',\\n menus: {\\n cn: [\\n {\\n title: '快速开始',\\n list: [\\n { name: '安装', md: 'installation' },\\n { name: '配置', md: 'config' }\\n ]\\n },\\n {\\n title: '其他版块',\\n list: [\\n { name: '测试其他', md: 'other-docs' }\\n ]\\n }\\n ],\\n en: [\\n {\\n title: 'QUICK START',\\n list: [\\n { name: 'Introduction', md: 'introduction' },\\n { name: 'Config', md: 'config' }\\n ]\\n },\\n {\\n title: 'Other',\\n list: [\\n { name: 'Other Docs', md: 'other-docs' }\\n ]\\n }\\n ]\\n }\\n}\\n\\nexport default config\\n```\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/config.md\n// module id = 31\n// module chunks = 5"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><title>Omi</title><link href="./static/css/zh-cn.86761e06.css" rel="stylesheet"></head><body><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/zh-cn.7688eaeb.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/dracula.css"><title>Omi</title><link href="./static/css/zh-cn.7fd94fa3.css" rel="stylesheet"></head><body><script src="./highlight/highlight.pack.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/zh-cn.b1981a69.js"></script></body></html>