aboutsummaryrefslogtreecommitdiff
path: root/embedded_css.go
AgeCommit message (Collapse)Author
2026-01-24all: embed CSS and index HTML template using memfsShulhan
Previously, with direct embed, every time we change the CSS or index template, we need to restart the "ciigo serve" command. Using memfs make us easy to update and see the changes directly, without restarting the server.
2024-09-11all: set margin on sectlevel3, sectlevel4, sectlevel5Shulhan
Using default margin (1.25rem) cause the TOC for level 3 until 5 have wide gap in between them.
2023-12-10all: fix all warnings reported by linter reviveShulhan
Unfortunately, this breaks some API and exported fields, but its better than creating revive.toml file to add an exception. Some breaking changes, * Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate] * Method [Converter.SetHtmlTemplateFile] become [Converter.SetHTMLTemplateFile] * Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile]
2023-06-01all: set default fonts to Go familyShulhan
For user that installed Go fonts [1] in their local or remote, using ciigo will feels like home. [1] https://go.dev/blog/go-fonts
2022-08-01all: clean up codesShulhan
Replace any usage of ":=" with explicit variable declaration for better types clarity.
2022-07-24all: add CSS for admonition blockShulhan
The style only applicable for non-icon admonition.
2022-07-03all: update CSS for description listShulhan
Set the list title font weight to be bold and remove the font-size for list description to make the font-size consistent.
2022-03-04all: add 1em to the bottom margin of paragraph under listShulhan
This is to make the list content readable and indistinguishable, especially when we have many list items with paragraphs.
2022-03-04all: re-licensing ciigo under GPL-3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2021-04-07all: replace any mention of asciidoc with markupShulhan
2020-05-01all: embed the HTML template and the stylesheetShulhan
The parameter for template either in Convert or Generate functions or in CLI now become pure optional, not default to "templates/html.tmpl" anymore. This will minimize steps for user to setup or run the library or program.