rwv
rwv
python color code: https://github.com/tldr-pages/tldr-python-client/blob/c7d70091e958d1ccddd1e038578ad9ee897c5358/tldr.py#L344-L369
### Branch [syntax-highlighting](https://github.com/InBrowserApp/tldr.inbrowser.app/tree/syntax-highlighting) ### Demo https://syntax-highlighting.tldr-inbrowser-app.pages.dev/ ### TODO * decide a highlight color theme with light and dark mode * replace more syntax * find a style for mnemonics *...
To achieve better synatx highlighting, we need to parse the markdown by ourself as well. `marked.parse` only returns raw html which doesn't quite compatiable with vue. As a result, some...
It looks like that we need to do some kind of AST parsing in JavaScript which is a pain. Maybe this can be easier if there is a reference implementation....
Same problem. The save path can only be in English, not Chinese.
workaround: ``` typescript import { writeFile, type WriteFileOptions } from "@tauri-apps/plugin-fs"; export async function writeFileFromStream( path: string | URL, stream: ReadableStream, options?: WriteFileOptions & { chunkSize?: number } ) {...
你下载的什么版本的客户端
https://api.dos.lol 这个能正常访问吗
https://api-workers.dos.lol/ 呢
测试版可以正常运行吗