chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -17,9 +17,9 @@
import { type Text, type Link, type Parent, type Image } from 'mdast';
import { isObject, isUndefined } from 'lodash-es';
/**
* 将markdown转为纯文本
* @param markdown Markdown文本
* @returns string 纯文本
* Convert markdown to plain text
* @param markdown Markdown text
* @Returns string plain text
*/
export const getTextFromAst = (ast: unknown): string => {
if (isParent(ast)) {