Skip to content
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

Use CommonMark-compatible info strings everywhere #5401

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

sellout
Copy link
Contributor

@sellout sellout commented Oct 8, 2024

Overview

The bulk of this updates transcripts to put spaces around the language name in code blocks. E.g.,

```ucm:hide

becomes

``` ucm :hide

This syntax is already supported by the transcript parser, but it hasn’t been encouraged / shown in examples.

This corresponds to
https://share.unison-lang.org/@unison/website/contributions/11, which updates the docs in the same way.

This is effectively a fix for #5214, but that issue also has good recommendations for future changes to info strings, so I don’t know that it should be closed.

Test coverage

You can see the many transcript outputs this affects …

The bulk of this updates transcripts to put spaces around the language
name in code blocks. E.g.,
```` markdown
```ucm:hide
````
becomes
```` markdown
``` ucm :hide
````

This corresponds to
https://share.unison-lang.org/@unison/website/contributions/11, which
updates the docs in the same way.

This is effectively a fix for unisonweb#5214, but that issue also has good recommendations for future changes to info strings, so
I don’t know that it should be closed.
@sellout sellout requested a review from a team as a code owner October 8, 2024 22:19
@aryairani aryairani merged commit cba59d4 into unisonweb:trunk Oct 9, 2024
17 checks passed
@sellout sellout deleted the commonmark-transcripts branch November 4, 2024 18:38
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.

3 participants