Skip to content

Improve importing for markdown syntax #Tag #8882

Closed
@Geo123abc

Description

@Geo123abc

嵌套标签markdown文件导入到思源笔记失败

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

Ctrl+C、在思源笔记中Ctrl+V粘贴,标签可以正常渲染、标签面板也能嗅探到

#ZZ/测试#

#ZZ/✅常规笔记#

以 .md文件形式存的文件,其内容是:

#ZZ/测试

#ZZ/✅常规笔记

使用思源笔记 导入--导入markdown文档 功能,导入上面的md文件,此时很大概率思源笔记会卡得只有一个外框,只能使用资源管理器结束思源笔记,然后重新打开思源笔记

打开之后,标签面板找不到相关的标签,但是页面中标签渲染正常;点击页面中这个标签,也能达到搜索这个标签的目的(出来一个搜索的页签),但是搜索结果中没有搜到当前页面这个标签,点击标签面板的刷新按钮也无效。

起初我以为是那个对号特殊字符的原因,后来测试发现可能是标签嵌套导致的。

Expected result

导入带嵌套标签的markdown之后,思源笔记可以正确处理嵌套标签

Screenshot or screen recording presentation

No response

Version environment

- Version: v2.9.8
- Operating System: windows 10
- Browser (if used):

Log file

More information

No response

Activity

changed the title [-]嵌套标签markdown文件导入到思源笔记失败[/-] [+]Improve importing for markdown syntax `#Tag` [/+] on Aug 1, 2023
self-assigned this
on Aug 1, 2023
added this to the 2.9.9 milestone on Aug 1, 2023
changed the title [-]Improve importing for markdown syntax `#Tag` [/-] [+]Improve importing for markdown syntax `#Tag`[/+] on Aug 8, 2023
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@Geo123abc

      Issue actions

        Improve importing for markdown syntax `#Tag` · Issue #8882 · siyuan-note/siyuan