-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add getSectionNumeral()
function
#1659
Add getSectionNumeral()
function
#1659
Conversation
That's look good! Thank you 😄
|
Oh I missed that, done! I can add the alias too if you would like—and have an example. |
getSectionNumber()
functiongetSectionNumeral()
function
I think that would be nice since a lot of users might assume that setnum is short for section number (numeral is less common) |
Co-authored-by: Guillaume Grossetie <[email protected]>
Co-authored-by: Guillaume Grossetie <[email protected]>
…d/asciidoctor.js into section-number-fn
Done! (I think) |
It looks good, thanks again, I will merge it once the build is successful |
Currently using
$sectnum()
in a custom asciidoc section converter—figured it might be useful to get the function wrapper included and typed.First time contributor, hopefully it's all formatted correctly.