ITADN

still wrong match the tag in the code block

#858Openshun-li-casia 创建于 2025-06-16
bug
S
shun-li-casiacommented
### 🐛 Describe the bug Hi! I have read and checked the code #439, but still, I got the same error message: in A.md I have some C++ code: ```markdown ### **5. Usage** #### **Intel MKL(C++)** ```cpp #include <mkl.h> int main() { int n = 1000; double *A = (double*)mkl_malloc(n*n*sizeof(double), 64); double *B = (double*)mkl_malloc(n*n*sizeof(double), 64); double *C = (double*)mkl_malloc(n*n*sizeof(double), 64); // C = A * B cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, n, n, n, 1.0, A, n, B, n, 0.0, C, n); mkl_free(A); mkl_free(B); mkl_free(C); return 0; } ``` ``` and when I use the ObsidianTags command, it will make the "include" as a tag! ### Config MY Obsidian.nvim config is: ```lua return { "epwalsh/obsidian.nvim", lazy = true, ft = "markdown", dependencies = { -- Required. "nvim-lua/plenary.nvim", }, opts = { workspaces = { { name = "knowledge_library", path = "~/knowledge_library" }, }, preferred_link_style = "markdown", ui={ enable=false } }, } ``` ### Environment ```bash 04:40:25 ls@dell2204 ~ → nvim --version NVIM v0.11.1 Build type: Release LuaJIT 2.1.1741730670 Run "nvim -V1 -v" for more info 04:40:31 ls@dell2204 ~ → nvim --headless -c 'lua require("obsidian").info()' -c q Obsidian.nvim v3.9.0 (ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b) Status: • buffer directory: nil • working directory: /home/ls Workspaces: ✓ active workspace: Workspace(name='knowledge_library', path='/home/ls/knowledge_library', root='/home/ls/knowledge_library') Dependencies: ✓ plenary.nvim: 857c5ac632080dba10aae49dba902ce3abf91b35 ✓ nvim-cmp: b5311ab3ed9c846b585c0c15b7559be131ec4be9 Integrations: ✓ picker: TelescopePicker() ✓ completion: enabled (nvim-cmp) ✗ refs, ✗ tags, ✗ new all sources: • nvim_lsp • nvim_lsp_signature_help • path • cmp_tabnine • buffer • luasnip • treesitter Tools: ✓ rg: ripgrep 13.0.0 Environment: • operating system: Linux Config: • notes_subdir: nil ```
2 条评论