Commit Graph

16 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
Mitchell Rosen
6f1c56c131 tweak messages 2024-06-03 13:57:45 -04:00
Mitchell Rosen
8b98add0aa fix typo 2024-06-03 10:09:26 -04:00
Mitchell Rosen
0635baa784 improve upgrade failure message 2024-06-03 09:45:21 -04:00
Mitchell Rosen
510e9dc6bb don't update in upgrade 2024-05-23 08:26:52 -04:00
Mitchell Rosen
7273bd9a3a in merge, don't returnEarly on success 2024-05-20 14:13:04 -04:00
Mitchell Rosen
4479966f8d make upgrade.commit perform the initial update 2024-05-20 13:04:31 -04:00
Mitchell Rosen
75795e61e4 implement upgrade.commit command 2024-05-20 12:09:00 -04:00
Chris Penner
662bb9f35d Update transcripts 2024-01-09 14:38:04 -08:00
Chris Penner
09123fe8f4 Merge branch 'cp/scratch-file-transcript-block' into cp/update2-writeSource 2024-01-09 14:32:11 -08:00
Mitchell Rosen
b2737a6415 update wording and transcripts 2024-01-08 10:45:18 -05:00
Chris Penner
72ebafa057 Update transcripts 2024-01-04 15:04:28 -08:00
Mitchell Rosen
d3f69389d5 mention the name of the file we put failed upgrades in 2024-01-03 18:52:12 -05:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Mitchell Rosen
3a93985ca4 add some upgrade docs, transcripts, and better output messages 2023-11-13 15:23:57 -05:00