-
Notifications
You must be signed in to change notification settings - Fork 394
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
doc: replace dvc
code block lang. for cli
#1369
Comments
dvc code bllock highlight for
clidvc code block highlight for
cli
My 2cs. It's too specific too |
Yes maybe you're right.
There are other built-in highlighters? I thought we only had dvc, usage, py, json, and yaml |
yep, there are some taken already https://prismjs.com/#supported-languages |
Nice. So neither |
Yes but what if in the future we want to support special highlighting in the YAML file since there are some DVC schema specific fields in .dvc files and dvc.yaml? We would just extend the But anyway this is a minor detail over all. No strong opinion or any urgency |
Good point, @jorgeorpinel ! I think |
Yep, in workflows it's quite easy to understand the standard |
@jorgeorpinel is this a generic substitution of all |
Hi @MayankGoel28 and sorry for the delay (we're really busy recently releasing DVC 1.0). No, this would require customization of the JS engine code first, and then also changing the md content, yes. |
dvc code block highlight for
clidvc
code block highlight for cli
dvc
code block highlight for cli
dvc
code block lang. for cli
dvc
code block lang. for cli
dvc
code block lang. for cli
This will be resolved by #3396 but we can keep this open to update the contents (mass-replace |
We use
```dvc
for all kinds of console session examples throughout blocks, not just DVC commands (sometimes there's no DVC command in the block). Maybe we should change to```cli
? or```console
(standard)This applies to Markdown file processing.
UPDATE: See #1369 (comment) below.
The text was updated successfully, but these errors were encountered: