summaryrefslogtreecommitdiff
path: root/blog/2023/02/24/planning.mdwn
blob: 57e7db1f46b592080602feae98d3f0c8602cb4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[[!meta title="Iteration planning: February 25–March 3"]]
[[!meta date="2023-02-25 15:50:00 +0000"]]
[[!tag meeting]]

# Notes

We decided to not follow the usual meeting structure and instead only
discussed how to refactor the Subplot code base.

We've made progress and are ready to actually switch to using
`pulldown-cmark` for parsing Markdown. Lars started work on that, but
ran out of time and brain and didn't finish it.

For this iteration:

* Daniel will refactor the `Document` methods to avoid requiring a
  mutable reference to self, when possible.
  - This has been done after the meeting and before this memo was
    written in [[!mr 313]]
* Lars will drop `pandoc_ast` as a dependency in favor of
  `pulldown_cmark`, and a custom representation of a parsed Markdown
  document. Lars will probably use a lightweight abstraction for HTML,
  and rewrite the `pandoc_ast::MutVisitor` use to query that instead.
  - Lars borrowed his pre-existing HTML abstraction from
    [riki](https://gitlab.com/larswirzenius/riki), with some changes
  - Lars started work on rewriting the visitors
* Lars will drop the `Markdown::set_metatdata` method and instead give
  the `YamlMetadata` directly to `Markdown::to_json`. From the
  caller's point of view, there's no need to have two methods for
  this. Or possibly Lars will just drop both methods, if they're not
  needed for HTML generation.
  - If we generate HTML directly, without Pandoc, we won't need these



# Meeting participants

- Daniel Silverstone
- Lars Wirzenius