JL-Code

Results 4 comments of JL-Code

非感谢译者,刚好在找这方面的文章

> 机友约惠 http://m.yixiangqq.com/weixin 可以参考下源码吗?

> 文章已经注明了分析的版本是 Vue.js 2.5.17-beta.0, > 不过未来有时间我会更新文章的。 你好,vue-router分析的时候是用的哪个版本的代码?

> ![image](https://private-user-images.githubusercontent.com/998441/311909140-e9fdb503-e270-420e-b214-49c86cc956a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAzOTM5MzYsIm5iZiI6MTcxMDM5MzYzNiwicGF0aCI6Ii85OTg0NDEvMzExOTA5MTQwLWU5ZmRiNTAzLWUyNzAtNDIwZS1iMjE0LTQ5Yzg2Y2M5NTZhNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMxNFQwNTIwMzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MzhkODViNTMzMTgyYzg0MDY5MGMzNTA4YjAzY2VjOTg0ZWVlOTIxOTIxNTYzMDE4NWMzYzQ0MTZhN2JkMGVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.iTKqXYrZIQPjySa4-t4xEwbKfa7d8CaCouKaCT2teq4) https://github.com/Tencent/cherry-markdown/wiki 可以考虑用cherry的纯预览模式哈,大概实现方式是这样的: > > ```js > let markdown = $('#cherrymd-container').text(); > let myeditor = new Cherry({ > id: 'cherrymd-container', > editor: { > // 声明为纯预览模式 > defaultModel: 'previewOnly',...