Commit Graph

18 Commits

Author SHA1 Message Date
Rúnar
3e896408e9 transcripts 2024-08-17 22:03:57 -04:00
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
Paul Chiusano
c249ad004f polish and refresh transcript 2023-05-18 15:07:20 -05:00
Paul Chiusano
bf71fd477a transcript refresh 2022-04-06 16:20:44 -05:00
Arya Irani
19daa28398 Merge branch 'trunk' into topic/merge-trunk-2022-02-07 2022-02-07 19:29:57 -07:00
Arya Irani
52b2c81783 never assume builtins are known to the db
fixes 107 failing transcripts
2021-12-06 11:55:21 -10:00
Mitchell Rosen
6052820089 ⅄ trunk → topic/rehash-codebase 2021-11-19 14:59:35 -05:00
Mitchell Rosen
4d801bef4f update transcript 2021-11-10 15:31:42 -05:00
Mitchell Rosen
c9a772280c use unsuffixified PPE to print dependents 2021-11-09 14:44:32 -05:00
Mitchell Rosen
8a2a485683 update transcript 2021-11-09 13:44:23 -05:00
Arya Irani
31f9f56b30 update transcript output 2021-09-27 17:25:23 -04:00
rlmark
79ad0fa8df updates transcripts 2021-08-23 14:05:37 -07:00
Paul Chiusano
eee6f0ff0a uncontroversial transcript diffs 2021-08-02 11:55:27 -04:00
Prat T
9fe1c408a7
Link number from dependents and dependencies result to hash 2020-05-10 17:22:45 -07:00
Prat T
d4327b54c5
Make dependents and dependencies commands produce numbered args.
Format dependent and dependencies outputs
2020-05-09 15:50:52 -07:00
Arya Irani
8438c3a7d8 add column headings and transcript for dependents/dependencies 2020-04-07 20:21:33 -04:00