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

[FR] Add a command to automatically create sections for each header. #67

Open
XMB-7 opened this issue Jul 25, 2024 · 0 comments
Open

[FR] Add a command to automatically create sections for each header. #67

XMB-7 opened this issue Jul 25, 2024 · 0 comments

Comments

@XMB-7
Copy link

XMB-7 commented Jul 25, 2024

# h1
xxx

## h2
xxx

# another h1
xxx

->

%%SECTION{h1}%%
# h1
xxx

%%SECTION{h1 > h2}%%
## h2
xxx

%%SECTION{another h1}%%
# another h1
xxx

It's just a rough idea, and I believe various details may be concerned, like switching the display format of %%SECTION{...}%% from a divider line to something else, whether only applies to L1 level headers, auto-trimming section names or not...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants