You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
### Added
10
10
- When `--cover-footer-line` is omitted, render the `--contributor` value (if any) as a "Compiled by:" credit on the inner cover.
11
11
- Bundle IBM Plex Sans and IBM Plex Serif with the EPUB so cover text and front matter render consistently across reading environments, regardless of host-installed fonts.
12
+
- Add a project-owned `swift-book-swift` Pygments lexer for Swift code highlighting, derived from the Highlight.js Swift grammar and registered for both Python and minted/PDF use.
12
13
13
14
### Changed
14
15
- Redesign generated EPUB cover artwork and rendered cover text for release and beta editions, with new templates, edition-specific colors, and adjusted version-label spacing and positioning.
15
16
- Redesign the EPUB inner cover with a new typographic layout that uses the bundled IBM Plex fonts, edition-specific accent colors, and a redesigned banner.
16
17
- Make the inner-cover banner unconditional and default its text to `RELEASE VERSION` or `BETA VERSION` based on the resolved edition; `--cover-banner-text` now overrides the label and `--cover-banner-color` defaults to the edition's accent color.
17
18
- Refresh the trademark wording in the generated notices page and acknowledge the bundled IBM Plex fonts under the SIL Open Font License 1.1, including the full OFL text.
19
+
- Render Swift code blocks in generated PDF and EPUB output with the new `swift-book-swift` lexer for syntax highlighting that more closely matches Swift Book examples and Highlight.js behavior.
20
+
- Add syntax colors for inserted and deleted code tokens in the generated PDF light and dark code styles.
21
+
- Add Highlight.js attribution and BSD 3-Clause license text to the third-party notices.
18
22
19
23
### Fixed
20
24
- Fix an issue where the header text in the generated PDF document could be misaligned between odd and even pages.
@@ -29,6 +33,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
33
- Split EPUB generation into focused cover, rendering, structure, package, and templating modules, including Jinja2-backed OPF, NCX, navigation, and notices templates.
30
34
- Centralize bundled asset paths and move covers, fonts, icons, notices, and Swift logo assets into domain-specific asset directories.
31
35
- Expand focused test coverage for CLI wiring, PDF config and engine behavior, LaTeX font handling, EPUB package generation, cover variants, notices, Markdown transforms, and rendered output.
36
+
- Add Swift lexer fixture coverage for attributes, availability annotations, declarations, keywords, numbers, operators, ownership modifiers, regex literals, strings, SwiftUI snippets, tuples, and type definitions.
37
+
- Add an external Swift Book corpus parity test against the latest Highlight.js Swift grammar in CI.
0 commit comments