Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Dec 2, 2024
1 parent 7d96790 commit 1d38cec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Commands/BuildEpubCommand.php
Original file line number Diff line number Diff line change
@@ -114,9 +114,12 @@ protected function buildEpub(
$book->addCSSFile("style.css", "css1", $this->getStyle($this->config->workingPath, "style"));
// https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.5/build/styles/github-gist.min.css
$book->addCSSFile(
"codeblock.css", "css2", $this->getStyle($this->config->workingPath, "highlight.codeblock.min"));
"codeblock.css",
"css2",
$this->getStyle($this->config->workingPath, "highlight.codeblock.min"),
);

$cover = $content_start . "<h1>" . $this->config->title() . "</h1>\n";
$cover = $content_start . "<h1>" . $this->config->title() . "</h1>\n";
if ($this->config->author()) {
$cover .= "<h2>By: " . $this->config->author() . "</h2>\n";
}

0 comments on commit 1d38cec

Please sign in to comment.