Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.8k
#679 Remove only first custom id for a heading instead of all of them.#680
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Actually that would break other modifiers... closing for now |
| .replace(/^'/,'') | ||
| .replace(/'$/,'') | ||
| .replace(/:([\w-]+)=?([\w-]+)?/g,(m,key,value)=>{ | ||
| .replace(/:([\w-]+)=?([\w-]+)?/,(m,key,value)=>{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is for extracting all possible configs. In the case of headings, we have only one at the moment.
I guess a better solution would be only match strings at the end. We may need to introduce a delimiter for determining where the starting point of configs is.
masterbranch.libdirectory.