swcarpentry / shell-novice

The Unix Shell
http://swcarpentry.github.io/shell-novice/
Other
375 stars 972 forks source link

Ep03: fill in the blanks answers color inconsistency #1370

Closed cedorikku closed 1 year ago

cedorikku commented 1 year ago

Hello,

Just noticed a slight color inconsistency on two lines of the solution of this exercise section Using wildcards for accessing multiple files at once - More on Wildcards

On the solution part, specifically these bash lines:

$ cp *calibration.txt backup/calibration
$ cp 2015-11-* send_to_bob/all_november_files/

only their * is colored/ highlighted while .txt or 11 aren't, even if it's part of what I think is an answer to the fill-in-the-blank problem. I guess what I'm trying to suggest, for consistency's sake, is to change the colors of these two to match the blanks of the problem?

gcapes commented 1 year ago

This is probably one for the styles repo(?), but given the upcoming move to the workbench format, it might not get fixed for the current style. @tobyhodges might be able to advise/direct?

tobyhodges commented 1 year ago

Indeed, this looks like the Markdown parser getting confused by the combination of underscores and asterisks in the exercise code blocks. As @gcapes suggested, that makes it a templating issue for styles.

However, the Workbench version of the lesson does not have the same issue, so I believe you can safely close this on the grounds that the problem should disappear after the new infrastructure is rolled out at the start of May.

gcapes commented 1 year ago

Great, thanks Toby!