You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more complicated than just splitting the string in half on first whitespace and highlighting the first part. There are pages like sha256sum, where the command is at the end instead:
- Calculate a SHA256 checksum from `stdin`:
`{{command}} | sha256sum`
That makes it harder, but not impossible. You can take the string to highlight from the title or from the filename. But there are still pages where you just can't reliably infer what the command is. Take a look at ::
We need to infer that the command to highlight is :, but:
The filename is colon.md,
The title is colon,
The client has no idea where exactly is the command, so highlighting by position like you tried to do is also out of the picture.
So even if we implement it, there are going to be pages where it doesn't work (unless there's some other way I haven't thought of).
add ability to highlight command name text differently from the style of the example
like this:
config option could look like this:
The text was updated successfully, but these errors were encountered: