eecs485staff / primer-spec

A Jekyll theme for sites with content-heavy pages
https://eecs485staff.github.io/primer-spec/
MIT License
22 stars 12 forks source link

[Code blocks] Clean up, split into multiple modules #217

Closed seshrs closed 1 year ago

seshrs commented 1 year ago

While beginning to work on #213, I figured that the logic to generate enhanced code blocks is quite complex for just a single module. This PR splits the file into multiple modules.

(The PR looks big, but it's really just moving things around.)

Aside: I also snuck in a change that fixes an issue I faced when running script/server.

github-actions[bot] commented 1 year ago

The spec from this PR is available at https://preview.sesh.rs/previews/eecs485staff/primer-spec/217/.

(Available until Wed Nov 16 2022.)