
- Table of Content[v]
- References[1]
- \( \LaTeX \)
- Code highlighting:
import numpy as np*Easy* **HTML** [formatting](#)- Easy HTML formatting
Quick demo of SimpleHtml
1 Features
This is bunch of python code put together to slighly improve on top of markdown for better scientific article writing. Most of the heavy lifting is done by Jekyll. This adds simply way of creating citation that appears at the end with anchor links, adds table of content with section numbering and anchor links, and adds some quick ways of inserting images with captions or other objects with easy placement of them via right or center float.
- Allows for writing in \( \LaTeX \) via mathjax (via Jekyll)
- creates table of content with anchor links and section numbering
- code highlighting supported by standard Jekyll
- inline references for citation that appears at the end of the doc
- few additions to markdown allowing for quick/easy image insertion and caption creation
- allows for including other HTML files
- quicker than markdown literal links
2 Raw "Augmented" Markdown Of This Page
Raw markdown file for this page is here: https://github.com/rmanak/notes/blob/gh-pages/_posts/test_template.txt
3 Test Latex
Trying an inline equation \( x^2 + y^2 = \sum_{i=1}^{i=N} \frac{1}{i} \)
4 Test Footnotes
This is a reference[1] testing.
5 Test floating images

This is the caption of the image. A plot of a function in Python!
This is a new paragraph to fill up some space. So I will keep typing until I created a long paragraph. So far I don't think it is long enough. Let me find something from Wikipedia and copy paste it here. A paragraph (from the Greek paragraphos, "to write beside" or "written beside") is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose. The oldest classical Greek and Latin writing had little or no spaces between words or other ones, and could be written in boustrophedon (alternating directions). Over time, text direction (left to right) became standardized, and word dividers and terminal punctuation became common. The first way to divide sentences into groups was the original paragraphos, similar to an underscore at the beginning of the new group.[3] The Greek paragraphos evolved into the pilcrow), which in English manuscripts in the Middle Ages can be seen inserted inline between sentences. The hedera leaf has also been used in the same way. There should be an image on the right side of this text. An empty line separates the paragraphs.
6 Test Center Floating Image

Images with center floating are a bit larger allowing for more content in the caption.
Images (centered or right floating) can be inserted without caption as well, by simply leaving the caption part completely empty:

7 Test Right Floating Object
You can also insert any html content in a right floating box by
putting it between <R></R>.
For instance the
image of the equation you are seeing on the right hand side is
in part an html code and in part a latex syntax that is being
converted using MathJax script. The code
that generates it is this:
<R><span style="font-size:50px;">\\(G_{\mu\nu}=8\pi T_{\mu\nu}\\)</span></R>
Also you can insert any valid HTML content in the plain text file. See Makrdown's page [2] to learn more about how it handles the HTML contents.
8 Test code highligher
import tensorflow as tf
import numpy as np
print("Hello world!")
int_var = 23.2
print(f"var is {int_var}")
for _ in range(10):
if 2 > 1:
print('wow!')
else:
raise ValueError("no way!")
class MyClass():
def __init__(self, name):
self.name = name
@property
def name(self):
return self.name
@name.setter
def name(self, val):
self.name = val9 Test Including File
You can include other html files or text in your source code using:
<FILE="myfile.html"\>
10 References
[1]: This is an example of a reference.