Skip to content

New template functions markdown2text and markdown2content #13880

Closed
@TCOTC

Description

@TCOTC
Contributor

增加一个模板函数用于获取块的纯文本 / 转换 Markdown 为纯文本

https://ld246.com/article/1737269978254

数据库里没有纯文本:

Image

Activity

changed the title [-]增加一个模板函数用于获取块的纯文本 / 转换为纯文本[/-] [+]增加一个模板函数用于获取块的纯文本 / 转换 Markdown 为纯文本[/+] on Feb 25, 2025
TCOTC

TCOTC commented on Mar 28, 2025

@TCOTC
ContributorAuthor

没有办法获取到 123123

* [ ] [123123](34234)
{
  "Content": " 123123 34234",
  "FContent": "123123 34234",
  "Markdown": "* [ ] [123123](34234)"
}

Image

Image

self-assigned this
on May 28, 2025
added this to the 3.1.32 milestone on May 28, 2025
changed the title [-]增加一个模板函数用于获取块的纯文本 / 转换 Markdown 为纯文本[/-] [+]New template functions `markdown2text` and `markdown2content`[/+] on May 28, 2025
TCOTC

TCOTC commented on May 28, 2025

@TCOTC
ContributorAuthor

text 和 content 的区别是啥?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@TCOTC

      Issue actions

        New template functions `markdown2text` and `markdown2content` · Issue #13880 · siyuan-note/siyuan