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

Sections with ident mark #4

Open
AlexRydzewski opened this issue Apr 19, 2023 · 3 comments
Open

Sections with ident mark #4

AlexRydzewski opened this issue Apr 19, 2023 · 3 comments
Assignees

Comments

@AlexRydzewski
Copy link

AlexRydzewski commented Apr 19, 2023

Thank you for great plugin!

I cannot perform this trick when section has include ident mark.
Perhaps regex must be that (?:\A|\r?\n\s*\r?\n)h\d+\(+?.[ \t]+(.?)(?=\r?\n\s\r?\n|\z)
or that (?:\A|\r?\n\s*\r?\n)h\d+\W+?.[ \t]+(.?)(?=\r?\n\s\r?\n|\z)

@AlexRydzewski AlexRydzewski changed the title Sections with spaces in name Sections with ident mark Apr 19, 2023
@taikii taikii self-assigned this Apr 21, 2023
@taikii
Copy link
Owner

taikii commented May 2, 2023

@AlexRydzewski Does ident mark mean ">" ? Could you give me an example of the problem?

@AlexRydzewski
Copy link
Author

AlexRydzewski commented May 3, 2023

If there is a section on a some page ("thepage", for example), such as "h3((. blabla", this section will not be found by the macro.
{{include(thepage, blabla)}} will not working

@taikii
Copy link
Owner

taikii commented May 6, 2023

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

No branches or pull requests

2 participants