aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example.html
blob: be50334be2c0a7298f86e7df094ccc50ef2b9cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>

<head>
    <meta name="viewport" content="width=device-width">
    <title>/Users/g2/Documents/EIE3/FMark-vscode/src/Fmark/examples/</title>
</head>

<body>
    <h1 id="FMark_Example0">FMark Example</h1>
    <h2 id="Table_of_contents1">Table of contents</h2>
    <ol>
        <li>
            <a href="#FMark_Example0">FMark Example</a>
        </li>
        <ol>
            <li>
                <a href="#Table_of_contents1">Table of contents</a>
            </li>
            <li>
                <a href="#Macros2">Macros</a>
            </li>
            <li>
                <a href="#Including_files3">Including files</a>
            </li>
            <li>
                <a href="#Spreadsheet_functionality4">Spreadsheet functionality</a>
            </li>
            <li>
                <a href="#Standard_Markdown5">Standard Markdown</a>
            </li>
            <ol>
                <li>
                    <a href="#Styling6">Styling</a>
                </li>
            </ol>
        </ol>
        <li>
            <a href="#Heading_17">Heading 1</a>
        </li>
        <li>
            <a href="#Heading_28">Heading 2</a>
        </li>
        <ol>
            <li>
                <a href="#Heading_39">Heading 3</a>
            </li>
        </ol>
        <ol>
            <li>
                <a href="#Heading_410">Heading 4</a>
            </li>
        </ol>
        <ol>
            <li>
                <a href="#Heading_511">Heading 5</a>
            </li>
        </ol>
        <li>
            <a href="#Heading_612">Heading 6</a>
        </li>
        <li>
            <a href="#Lists13">Lists</a>
        </li>
        <li>
            <a href="#Links14">Links</a>
        </li>
        <li>
            <a href="#LateX_maths15">LateX maths</a>
        </li>
    </ol>
    <h2 id="Macros2">Macros</h2>
    <table>
        <thead>
            <tr>
                <th>default</th>
                <th>table</th>
                <th>contents</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>hi</td>
                <td>my</td>
                <td>name</td>
            </tr>
            <tr>
                <td>is</td>
                <td>FMark</td>
                <td>hi</td>
            </tr>
        </tbody>
    </table>
    <h2 id="Including_files3">Including files</h2>
    <p>This is an included file!
        <br> This is a second included file.</p>
    <h2 id="Spreadsheet_functionality4">Spreadsheet functionality</h2>
    <table>
        <thead>
            <tr>
                <th>This</th>
                <th>is</th>
                <th>FMark</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>5</td>
                <td>3</td>
                <td>8</td>
            </tr>
            <tr>
                <td>2</td>
                <td>3</td>
                <td>5.33</td>
            </tr>
        </tbody>
    </table>
    <h2 id="Standard_Markdown5">Standard Markdown</h2>
    <h3 id="Styling6">Styling</h3>
    <p>
        <em>Emphasis</em> or
        <em>Emphasis</em>
    </p>
    <p>
        <strong>Bold</strong> or
        <strong>bold</strong>
    </p>
    <p>
        <em>
            <strong>Both</strong>
        </em> or
        <em>
            <strong>both</strong>
        </em>
    </p>
    <p>Note:
        <em>underscores</em> must have a space on either side.</p>
    <h1 id="Heading_17">Heading 1</h1>
    <h2 id="Heading_28">Heading 2</h2>
    <h3 id="Heading_39">Heading 3</h3>
    <h4 id="Heading_410">Heading 4</h4>
    <h5 id="Heading_511">Heading 5</h5>
    <h5 id="Heading_612">Heading 6</h5>
    <h3 id="Lists13">Lists</h3>
    <p>Ordered List:</p>
    <ol>
        <li>First</li>
        <li>Second</li>
        <ol>
            <ol>
                <li>Nested First</li>
                <li>Nested Second</li>
            </ol>
        </ol>
        <li>Third</li>
    </ol>
    <p>Unordered List:</p>
    <ul>
        <li>First</li>
        <li>Second</li>
        <ul>
            <ul>
                <li>Nested First</li>
                <li>Nested Second</li>
            </ul>
        </ul>
        <li>Third</li>
    </ul>
    <p>Unordered List 2:</p>
    <ul>
        <li>First</li>
        <li>Second</li>
        <ul>
            <ul>
                <li>Nested First</li>
                <li>Nested Second</li>
            </ul>
        </ul>
        <li>Third</li>
    </ul>
    <h3 id="Links14">Links</h3>
    <p>
        <a href="http://www.google.com">Google</a>
        <!-- Images produce correct HTML but don't display in VS Code-->
        <img src="test_img.jpg" alt="image">
    </p>
    <h2 id="LateX_maths15">LateX maths</h2>
    <p>$$2* \begin{pmatrix} x_{00} & x_{01} & x_{01} \newline x_{10} & x_{11} & x_{11} \newline x_{20} & x_{21} & x_{21} \end{pmatrix}$$</p>
    <script
        type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script>
</body>