error: Invalid value for '--highlight-lines <LINES>': invalid digit found in string
The proposed change fixes this by removing the space in the string. It also fixes some typos in the documentation comment.
The second change is regarding padding to the right of the code. Sometimes, the generated code screenshot feels somewhat "squished" to me. Here's an example of a C file I tried Silicon on just for fun.
Here is the same code screenshot with the new --code-pad-right option set to 75 instead of the default 25.
It gives more of a gap on the right of the code, like how it is when normally editing code.
This PR contains two changes.
First, a small fix in the documentation for the
--highlight-lines
option, as can be seen here:But calling this with the suggested example,
raises the following error:
The proposed change fixes this by removing the space in the string. It also fixes some typos in the documentation comment.
The second change is regarding padding to the right of the code. Sometimes, the generated code screenshot feels somewhat "squished" to me. Here's an example of a C file I tried Silicon on just for fun.
Here is the same code screenshot with the new
--code-pad-right
option set to75
instead of the default25
.It gives more of a gap on the right of the code, like how it is when normally editing code.