Adding a few more languages.

This commit is contained in:
Shan Carter
2017-06-16 10:08:10 -07:00
parent 5c4b1108b6
commit 0abf0247e2
4 changed files with 335 additions and 118 deletions
+16
View File
@@ -35,6 +35,22 @@
<tr><td>234</td><td>54</td><td>23</td></tr>
</tbody>
</table>
<p>Here's a javascript code block.</p>
<dt-code block language="javascript">
var x = 25;
function(x){
return x * x;
}
</dt-code>
<p>We also support python.</p>
<dt-code block language="python">
# Python 3: Fibonacci series up to n
def fib(n):
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
</dt-code>
</dt-article>
<script type="text/bibliography">