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

wrong argument ordering and numbering when the number of argument >= 4 #41

Open
bernardjannes opened this issue Oct 12, 2021 · 1 comment

Comments

@bernardjannes
Copy link

bernardjannes commented Oct 12, 2021

For the function block

  1. when you have 4 @arg or more, the generated markdown becomes unordered
  2. when you have 10 @arg or more, the generated markdown does no more apply the bold pattern

To correct this:

line 26,
replace: styles["github", "argN", "from"] = "^(\$[0-9]) (\S+)"
by: styles["github", "argN", "from"] = "^(\$[0-9]+) (\S+)"

line 203,
replace: for (i in docblock["arg"]) {
by: for (i =1; i <= length(docblock["arg"]); i++) {

@landure
Copy link
Contributor

landure commented Nov 9, 2022

This should be fixed by commit be091b9.

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