Commit Graph

13 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
Dan Doel
12ec621d23 Add back padding when errors/traces actually occur 2024-04-16 14:26:28 -04:00
Dan Doel
9f2089798f Transcript output updates for error formatting 2024-04-16 13:52:17 -04:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Dan Doel
74c3c7dda3 Generate stack traces for calls to bug and similar. 2022-10-20 16:21:15 -04:00
Paul Chiusano
5606c5dc20 refresh transcripts 2020-10-21 22:47:25 -04:00
Arya Irani
81b6679bf3 update transcripts 2020-04-08 14:25:19 -04:00
Aaron Novstrup
1f7f106d8f replace case .. of with match .. with in transcripts 2020-02-07 19:00:43 -08:00
Arya Irani
f77836ca0d
Update todo-bug-builtins.output.md 2019-12-11 10:56:07 -05:00
Noah Haasis
239c06623d Update todo bultin transcript to run deterministically 2019-12-11 14:52:00 +00:00
Noah Haasis
6d43893f60 Update all changed transcript outputs 2019-12-10 05:21:04 +00:00
Noah Haasis
f1538906c6 Add transcript output for todo-bug-builtins 2019-12-10 04:39:36 +00:00