Commit Graph

6 Commits

Author SHA1 Message Date
Mitchell Rosen
bbb04d9da2 get the transcripts passing (but a couple are still broken) 2024-08-26 13:37:19 -04: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
d21ebf2d2a Fix transcript output 2022-01-12 11:15:02 -06:00
rlmark
79ad0fa8df updates transcripts 2021-08-23 14:05:37 -07:00
Paul Chiusano
15d8691caf Added clearer explanation of the resolution rule 2020-10-20 18:56:09 -04:00
Paul Chiusano
b801522c27 Allow suffix-based resolution to resolve to definitions in the same file 2020-10-20 18:12:44 -04:00