Closed kebuAAA closed 1 year ago
Either add this to the beginning of your Markdown file (note the markmap:
namespace):
---
markmap:
colorFreezeLevel: 2
---
Or this to the Default Options of your extension settings:
{
"colorFreezeLevel": 2
}
For example this is what I got with README.md of this repo:
Please let me know if you think the doc is not clear enough.
I have done as what you said just now. The following code is in my md file.
---
markmap:
colorFreezeLevel: 3
initialExpandLevel: 1
---
# markmap
## Links
- <https://markmap.js.org/>
- [GitHub](https://github.com/gera2ld/markmap)
## Related Projects
- [coc-markmap](https://github.com/gera2ld/coc-markmap)
- [gatsby-remark-markmap](https://github.com/gera2ld/gatsby-remark-markmap)
## Features
- links
- **strong** ~~del~~ *italic* ==highlight==
- multiline
text
- `inline code`
-
```js
console.log('code block');
maxWidth
option
I don't think the final result is what I want (In my opinion, the frontmatter doesn't work as I expect):
![image](https://user-images.githubusercontent.com/96560962/190292375-a5d7aa40-13ba-471c-aa0d-45e50584dd4d.png)
I feel very sorry for my ignorance:cry:.
I guess your end of line sequence is CRLF? Only LF is supported at the moment, let me fix this.
I guess your end of line sequence is CRLF? Only LF is supported at the moment, let me fix this.
Yeah, you are right, I change the end of line sequence and now the extension works well. Thank you very much.
It's time to release @gera2ld
I have read the guide but I still don't know where I should put my frontmatter. I try to put it in my markdown files but it seems not to work, Can you tell me how to configure the settings in detail? I really need this amazing extension!