Commit Graph

12 Commits

Author SHA1 Message Date
Greg Pfeil
0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00
Greg Pfeil
1dc181b99a
Update the transcripts with cmark
`cmark`’s pretty-printer matches our output pretty well, with a few differences:
- it puts a space between the fence and the info string for in code blocks;
- it prefers `-` over `*` for bulleted lists (as do I) and it indents them;
- it `\`-escapes certain chars very conservatively;
- it prefers indented/unfenced code blocks if there is no info string; and
- it prefers `*` over `_` (unlike any sane person).

This also shows how the change fixes a number of issues:
- fix2158-1.output.md also illustrates how this change fixes #1809;
- alias-many.output.md and input-parse-errors.output.md show how fenced
  code blocks without an info string would use the beginning of the
  content as the info string;
- transcripts-round-trip/main.output.md shows how output blocks for
  generated `unison` stanzas (which could contain nested fenced blocks)
  might not have long-enough fences; and
- error-messages.output.md and generic-parse-errors.output.md show how
  Unison errors were reported on the wrong line number (and thus the
  printed error lines were also incorrect).
2024-07-10 13:37:51 -06:00
Chris Penner
d98b4aebc1 Port more transcripts to projects 2024-07-01 11:14:31 -07:00
Chris Penner
e50f57f542 Merge remote-tracking branch 'origin/trunk' into cp/remove-global-names-again 2024-01-08 13:42:00 -08:00
Chris Penner
3f8c3251cd Update some transcripts to new global fallback 2024-01-08 11:35:37 -08:00
andrii
4456c95c7a Fixing test for type modifiers, updating trnscripts 2024-01-04 09:42:12 +01:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Travis Staton
ab072c7960
fix transcripts 2023-11-08 11:54:50 -05:00
Paul Chiusano
7509e3efa1 refresh transcripts 2023-07-21 02:12:22 -04:00
Chris Penner
ce4f6edb65 Update ability-term transcript 2022-01-20 15:39:22 -06:00
Chris Penner
0993de4829 Add ability-term conflict transcripts 2022-01-17 10:59:32 -06:00
Chris Penner
f9279d281b Add additional test transcripts from #2786 2022-01-16 18:25:50 -06:00