terwer

Results 77 comments of terwer

支持作者,准备刷题中!

不妨试试这个 https://github.com/terwer/my-note/releases/tag/v2.0.27 基于思源笔记的,思源笔记的本地编辑体验这一块可以比肩飞书云文档,我正在为它开发平台发布功能。

其实vuepress有自定义摘要的功能,在frontformatter里面写 ``` --- title: Netty高级进阶之基于Netty的Websocket开发网页聊天室 date: 2022-04-27 02:12:26 permalink: /post/develop-web-chat-room-with-netty-websocket.html meta: - name: keywords content: netty websocket - name: description content: 本通过实战演练,学习了如何基于Netty的websocket开发一个网页聊天室。 --- ``` 然后查看html其实已经有了 [http://terwergreen.com/post/develop-web-chat-room-with-netty-websocket.html](http://terwergreen.com/post/develop-web-chat-room-with-netty-websocket.html)

`.mdx` support is reauired!Just treat it as md file.

I started an opensource KM(Knowledge management) based plantform using it.I benefit a lot from it. **It seperates big projects to small pices, but also can run along with** .This is...

> @FlyAndNotDown 所以需求是将内容同步到 github,再触发自动构建? 我的思源笔记发布工具实现了发布到vuepress,可以看看 https://github.com/terwer/src-sy-post-publisher

> 在我自己的项目上好像有一点问题,只有主页被添加到 `sitemap.xml` 中,其他子页面链接缺失: > > ![image](https://user-images.githubusercontent.com/49941141/198884470-2bfd740a-32ed-434b-8758-42fac45e6a84.png) > > 我目前使用的是一个叫做 [`vuepress-plugin-sitemap`](https://www.npmjs.com/package/vuepress-plugin-sitemap) 的插件,适用于 Vuepress v1.x ,如有需要可以考虑一下。 > > 它生成的 `sitemap.xml` 是 [这个样子](https://github.com/Dragon1573/Study-Notes/blob/gh-pages/sitemap.xml) 的。 你应该是目录错了,我一直能用没问题的。参考效果:https://www.terwer.space/sitemap.xml ![image](https://user-images.githubusercontent.com/3259282/199699695-cbde53f4-a4a8-4467-b785-cbbb0f0b4a9e.png)

最新版 ```ts /** * 生成Google站点地图 */ const fs = require('fs'); const path = require('path'); const chalk = require('chalk') const matter = require('gray-matter'); // FrontMatter解析器 https://github.com/jonschlinkert/gray-matter const readFileList = require('./modules/readFileList'); const...