Skip to content

toplevel: print "#help;;" as inline code in the introduction#12891

Merged
gasche merged 1 commit into
ocaml:trunkfrom
Octachron:help_styling
Jan 10, 2024
Merged

toplevel: print "#help;;" as inline code in the introduction#12891
gasche merged 1 commit into
ocaml:trunkfrom
Octachron:help_styling

Conversation

@Octachron
Copy link
Copy Markdown
Member

This nano PR updates the toplevel initial prompt to use the styling for inline code for the #help;; directive.
In other words,

OCaml version 5.2.0
Enter #help;; for help.

is updated to

OCaml version 5.2.0
Enter #help;; for help.

when the terminal support ANSI colors and to

OCaml version 5.2.0
Enter "#help;;" for help.

otherwise.

@gasche gasche merged commit cc51600 into ocaml:trunk Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants