Archived
This forum has been archived. Please start a new discussion on GitHub.
How to use the Command of Slice2html
I want to replace the header of html ,when using slice2html; but I can't use the Command of --hdr At the same time,Notes in Chinese garbled conversion after HTML。。。。
0
Comments
-
The documentation for slice2html states:
- --hdr FILE
Prepend FILE to each generated HTML file (except for _sindex.html). This allows you to replace the HTML header and other preamble information with a custom version, so you can connect style sheets to the generated pages. The specified file must include the <body> tag (but need not end with a <body> tag). FILE is expected to contain the string TITLE on a line by itself, starting in column one. slice2html replaces the TITLE string with the fully-scoped name of the Slice symbol that is documented on the corresponding page.
Regards,
Mark0 - --hdr FILE
-
I konw the documentation for slice2html ,But For the first time I use this command,so my Header.html has some problems; Here is the content:
<head>
<title>HealthContent</title>
<meta charset="utf-8">
</head>
<body>
Where is the problem?thanks!
0 -
You need to have a line that only contains TITLE. For example:
<head>
TITLE
<meta charset="utf-8">
</head>
<body>0 -
It's working,Thanks so much!0