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

Allow zero-length annotations via styled macro #41

Open
tecosaur opened this issue Mar 9, 2024 · 0 comments
Open

Allow zero-length annotations via styled macro #41

tecosaur opened this issue Mar 9, 2024 · 0 comments

Comments

@tecosaur
Copy link
Collaborator

tecosaur commented Mar 9, 2024

It occurs to me that it could be useful to allow annotations in the styled"" macro that occur at a point/over an empty range, e.g.

styled"stuff{html=...:}more{html=...:}"

That said, these use cases could probably be refactored to something that would work with the current code, e.g.

styled"stuff{html_pre=...,html_post=...:more}`

I'm not sure whether this is worth doing, but it seemed worth opening an issue to record the thought.

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

1 participant