Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support comments for markdown #544

Open
Lruihao opened this issue Nov 7, 2024 · 1 comment
Open

[FEATURE] Support comments for markdown #544

Lruihao opened this issue Nov 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lruihao
Copy link
Member

Lruihao commented Nov 7, 2024

Describe the feature you want 描述你的功能需求

To support an extended markdown format like obsidian comments.

This is an %%inline%% comment.

%%
This is a block comment.

Block comments can span multiple lines.
%%

Useful reference 有价值的参考

{{- /* Comments for Markdown */ -}}
{{- $content = replaceRE "%%(.|\n)*?%%" "" $content -}}
{{- $content = replace $content "<p></p>" "" -}}
@Lruihao Lruihao added the enhancement New feature or request label Nov 7, 2024
@Lruihao Lruihao added this to the v0.4.x milestone Nov 7, 2024
@Lruihao Lruihao self-assigned this Nov 7, 2024
@Lruihao Lruihao modified the milestones: v0.4.x, Unscheduled Nov 18, 2024
@Lruihao
Copy link
Member Author

Lruihao commented Nov 18, 2024

There is no good way to implement it, so let's put it aside for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant