Commit Graph

14 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
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
andrii
8b857b152c Adding a message for when ucm started reloading changes 2023-12-22 12:55:24 +01:00
Mitchell Rosen
011718fb8e in update, don't bother typechecking again if we haven't changed the unison file 2023-11-29 15:09:06 -05:00
Arya Irani
b39ad780a5 print better update info messages 2023-11-13 22:36:03 -05:00
Travis Staton
fcf98da49d
don't indicate that we will update aliases 2023-11-08 12:11:16 -05:00
Travis Staton
ab072c7960
fix transcripts 2023-11-08 11:54:50 -05:00
Paul Chiusano
bf71fd477a transcript refresh 2022-04-06 16:20:44 -05:00
rlmark
ac2bc29849 fixes tests and transcripts 2021-08-24 11:33:27 -07:00
rlmark
79ad0fa8df updates transcripts 2021-08-23 14:05:37 -07:00
pete-ts
2e102fd5bb Updates transcript outputs with revised output 2020-04-20 16:01:42 +01:00
Arya Irani
81b6679bf3 update transcripts 2020-04-08 14:25:19 -04:00
Arya Irani
f708f29e33
allow add/update to create aliases (#1254) 2020-02-25 16:15:36 -05:00