wrong argument ordering and numbering when the number of argument >= 4
Opened this issue · 1 comments
bernardjannes commented
For the function block
- when you have 4 @arg or more, the generated markdown becomes unordered
- 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++) {