Skip to content

Commit bd3b3ee

Browse files
committed
Update docs re support for HTML 5 in save dialogues
Noted the HTML 5 output option in: * the save snippet & save unit dialogue boxes and file menu help topics. * the saved.html file format document XX
1 parent b165f85 commit bd3b3ee

File tree

4 files changed

+31
-6
lines changed

4 files changed

+31
-6
lines changed

Docs/Design/FileFormats/saved.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ <h2>
7676
<li>
7777
Pascal source files (either .inc or .pas files).
7878
</li>
79+
<li>
80+
HTML 5 files.
81+
</li>
7982
<li>
8083
XHTML files.
8184
</li>
@@ -85,7 +88,7 @@ <h2>
8588
</ul>
8689

8790
<p>
88-
There is no specific file format for these files, except that XHTML and RTF
91+
There is no specific file format for these files, except that HTML 5, XHTML and RTF
8992
files conform to published specifications.
9093
</p>
9194

@@ -135,6 +138,16 @@ <h2>
135138
</li>
136139
</ul>
137140
</dd>
141+
<dt>
142+
HTML 5 files
143+
</dt>
144+
<dd>
145+
<ul class="squashed">
146+
<li>
147+
UTF-8
148+
</li>
149+
</ul>
150+
</dd>
138151
<dt>
139152
XHTML files
140153
</dt>

Src/Help/HTML/dlg_savesnippet.htm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ <h1>
7575
file except that the extension is .txt rather than .inc.
7676
</li>
7777
<li>
78-
An HTML file (.html) &ndash; This option writes the source code out as a
78+
A HTML 5 file (.html) &ndash; This option writes the source code out as a
79+
valid HTML 5 document that uses embedded CSS to format the code. The
80+
source code will be syntax highlighted if the <em>Use syntax
81+
highlighting</em> check box is checked.
82+
</li>
83+
<li>
84+
An XHTML file (.html) &ndash; This option writes the source code out as a
7985
valid XHTML document that uses embedded CSS to format the code. The
8086
source code will be syntax highlighted if the <em>Use syntax
8187
highlighting</em> check box is checked.

Src/Help/HTML/dlg_saveunit.htm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ <h1>
6060
file except that the extension is .txt rather than .pas.
6161
</li>
6262
<li>
63-
An HTML file (.html) &ndash; This option writes the source code out as a
63+
A HTML 5 file (.html) &ndash; This option writes the source code out as a
64+
valid HTML 5 document that uses embedded CSS to format the code. The
65+
source code will be syntax highlighted if the <em>Use syntax
66+
highlighting</em> check box is checked.
67+
</li>
68+
<li>
69+
An XHTML file (.html) &ndash; This option writes the source code out as a
6470
valid XHTML document that uses embedded CSS to format the code. The
6571
source code will be syntax highlighted if the <em>Use syntax
6672
highlighting</em> check box is checked.

Src/Help/HTML/menu_file.htm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ <h1>
3737
to a file. The file contains an annotated fragment of Pascal code. The
3838
<a href="dlg_savesnippet.htm">Save Annotated Source</a> dialogue box
3939
is displayed and is used to determine the format of the file being
40-
saved. This can be plain text, a Pascal include file, HTML or RTF. The
41-
latter two options can be syntax highlighted. This option is available
40+
saved. This can be plain text, a Pascal include file, HTML 5, XHTML or RTF. The
41+
latter three options can be syntax highlighted. This option is available
4242
only for <a href="snippet_routine.htm">routine</a> snippets or
4343
categories containing routines. Any snippets in a category that are
4444
not routines are ignored.
@@ -74,7 +74,7 @@ <h1>
7474
snippets and saves it to file. The <a href="dlg_saveunit.htm">Save
7575
Unit</a> dialogue box is displayed and is used to determine the format
7676
of the file being saved. The format can be plain text, a Pascal unit
77-
file, HTML or RTF. The latter two options can be syntax highlighted.
77+
file, HTML 5, XHTML or RTF. The latter three options can be syntax highlighted.
7878
<a href="snippet_freeform.htm">Freeform</a> snippets are not included
7979
in the unit.
8080
</td>

0 commit comments

Comments
 (0)