wikilinks within broken lists do not get parsed
Please select the area your Bug applys to. (Multiple selections are Possible)
- [ ] Onboard. Initial vault setup and import/export pods
- [ ] Create. Note creation, lookup, snippets and templates
- [x] Retrieve. Backlinks, references, graph view
- [ ] Structure. Refactoring, multi-vault and schemas
- [x] Publish. Sharing your repo with the world
- [ ] Misc (Choose this if your not sure)
Describe the bug
A wikilink within a broken list does not get parsed as a wikilink. As a result, syntax highlighting and backlinks are broken.
To Reproduce
- In any note, write the following:
- [ ] [[good]]
- [n] [[bad]]
- Ctrl+click each link to create the notes.
At this point, you'll find that [[good]] is highlighted, but [[bad]] is not. If you go to these notes, good will have a backlink, but bad will not.
Expected behavior
These links should also get parsed, at which point highlighting and backlinks will work.
Desktop (please complete the following information)
- OS: Linux
- Version: 0.51
Additional context
Apart from just getting wikilinks inside bad lists to parse, I think a good option could be to create a custom list parser that allows customizable checkmark markers. This could be as simple as defining unicode symbols in dendron.yml, which are overlaid on top of the checkmark in publishing & HTML preview. Here is a mockup of what I mean:

Just wanna leave a report about the similar situation that I recently encounter when I'm writing my note
[PythonForFinance | Build a Financial Data Database with Python](https://pythonforfinance.net/2020/10/24/build-a-financial-data-database-with-python/)
- data pipeline mindmap
{max-width: 300px, display: block, margin: 0 auto}
When I indent the bullet and image link by 4 spaces, the Note Preview doesn't show the image, as in my screencap below.

If I indent the bullet and image link by only 2 spaces, the image is displayed correctly.
Just wanna leave a report about the similar situation that I recently encounter when I'm writing my note
[PythonForFinance | Build a Financial Data Database with Python](https://pythonforfinance.net/2020/10/24/build-a-financial-data-database-with-python/) - data pipeline mindmap {max-width: 300px, display: block, margin: 0 auto}When I indent the bullet and image link by 4 spaces, the Note Preview doesn't show the image, as in my screencap below.
If I indent the bullet and image link by only 2 spaces, the image is displayed correctly.
Just adding extra notes that @andrey-jef may be experiencing intended behavior, maybe related to github flavored markdown (GFM)? It looks GFM doesn't like it in general if you use four spaces before the first item in a list.
Examples
No indent
- Yo!
- What!
Two space indent
- Yeah
Four space indent
- What?!
Nested list where first line starts with 2 space indent, next line with 4 space indet
- Hey
- Hello
Nested list where second line starts with 6 space (so, four more than first line)
- Hey
- Yo
Rendered
No indent
- Yo!
- What!
Two space indent
- Yeah
Four space indent with no line break inbetween (doesn't render to list) - What?!
Four space indent with line break between (renders to code block)
- What?!
- Hello?!
Nested list where first line starts with 2 space indent, next line with 4 space indet
- Hey
- Hello
Nested list where second line starts with 6 space (so, four more than first line)
- Hey
- Yo
I notice that when the checkbox is directly followed by a wiki link such as -[ ] [[mypage]] , the preview cannot parse/display the wiki link.
My workflow is to track the task using scratch notes, my current workaround is to insert random character between checkbox and wiki link.
@ychen01 Does it work if you add a space before it? I think that might be broken:
- [ ] [[mypage]]
@ychen01 Does it work if you add a space before it? I think that might be broken:
- [ ] [[mypage]]
- [ ] [[mypage]] with space --> OK
- [w] [[mypage]] with space --> Not OK
So adding the task status as w, x, breaks the wiki links after, even with spaces
Did some digging. Seems like this is happening because unified is parsing [ ] as a LinkReference
Wrote my findings in [[Syntax Highlighting Issue|dendron://private/task.2022.03.12.syntax-highlighting-issue]]
Just wanted to drop in and say I'm experiencing this, myself.
- [ ] [[Working wikilink|my.note.yo]]
- [w] [[Breaks wikilink|my.note.yo]]
- [w] Go to [[Working wikilink|my.note.yo]]
If I add some characters between the checkbox and the wikilink, it causes it to work again.
This seems related: https://github.com/dendronhq/dendron/issues/3991.
Other than that, having an intended wikilink is parsed correctly for clicking it, but it doesn't get highlighted:
That might be a different issue, though.