chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user