aboutsummaryrefslogtreecommitdiff
path: root/testdata/watcher_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-29 21:07:22 +0700
committerShulhan <ms@kilabit.info>2026-02-02 16:40:16 +0700
commitf578b0ba7341f8bc97d13cd165070002596cb106 (patch)
tree44771b43cdcd4e36f56ec6dda2d7b4baab75d71e /testdata/watcher_test.txt
parent1af4644cb401e64ac20ecb7f12e898096470eb61 (diff)
downloadciigo-f578b0ba7341f8bc97d13cd165070002596cb106.tar.xz
all: allow combination of default and custom stylesheet
To combine default stylesheet with custom CSS, set the value to "default" and the file name of custom CSS, separated by comma. This is the recommended way to use custom stylesheet since it can be set only on specific pages. ---- // In asciidoctor: :stylesheet: default, custom.css // In markdown: stylesheet: default, custom.css ---- To disable default stylesheet and only using custom CSS, set the value only to the file name of custom CSS. Another way to use custom stylesheet is by creating your own template and pass it to `serve` or `convert` command. This method makes the stylesheet applied to all pages.
Diffstat (limited to 'testdata/watcher_test.txt')
-rw-r--r--testdata/watcher_test.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/watcher_test.txt b/testdata/watcher_test.txt
index 4e00e9c..579d6ec 100644
--- a/testdata/watcher_test.txt
+++ b/testdata/watcher_test.txt
@@ -129,6 +129,9 @@ keywords: ciigo,markdown
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="ciigo,markdown" />
<title>A new title</title>
+ <style>
+body{}
+ </style>
<link rel="stylesheet" href="/path/to/style.css" />
</head>
<body>