BareGit
# TODO

## CommonMark compatibility

- [ ] Support optional titles on inline and reference links and images.
  Accept titles delimited by double quotes, single quotes, or parentheses,
  preserve the title from link-reference definitions, and emit an escaped
  `title` HTML attribute. Update the `link` and `img` macro interfaces without
  breaking title-less markup.

- [ ] Complete CommonMark code-span parsing and HTML escaping. Support code
  spans delimited by matching backtick runs, allow shorter backtick runs in
  their content, apply the required whitespace normalization, and escape HTML
  characters such as `&`, `<`, and `>` in the rendered code.

- [ ] Implement full CommonMark list container behavior. Distinguish tight and
  loose lists, preserve non-default ordered-list start numbers, handle markers
  indented by up to three spaces, expand tabs correctly, and support nested
  lists, block quotes, continuation paragraphs, and code blocks within list
  items.

Use the corresponding non-extension cases in `tests/md-html-suite` as
acceptance tests. Do not make a case pass by updating its `.out` file when the
generated document structure, attributes, or visible rendering differs.