diff options
| -rw-r--r-- | posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 12 | ||||
| -rwxr-xr-x | template/_includes.html | 6 | ||||
| -rw-r--r-- | template/_libraries.html | 11 | ||||
| -rwxr-xr-x | template/post.html | 2 | ||||
| -rwxr-xr-x | template/style.css | 4 |
5 files changed, 23 insertions, 12 deletions
diff --git a/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 19d9073..b743017 100644 --- a/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |||
| @@ -22,22 +22,22 @@ My interests in this field are purely in encoding processes and experimental tes | |||
| 22 | ## Glossary | 22 | ## Glossary |
| 23 | 23 | ||
| 24 | **deoxyribose** | 24 | **deoxyribose** |
| 25 | : A five-carbon sugar molecule with a hydrogen atom rather than a hydroxyl group in the 2′ position; the sugar component of DNA nucleotides. | 25 | A five-carbon sugar molecule with a hydrogen atom rather than a hydroxyl group in the 2′ position; the sugar component of DNA nucleotides. |
| 26 | 26 | ||
| 27 | **double helix** | 27 | **double helix** |
| 28 | : The molecular shape of DNA in which two strands of nucleotides wind around each other in a spiral shape. | 28 | The molecular shape of DNA in which two strands of nucleotides wind around each other in a spiral shape. |
| 29 | 29 | ||
| 30 | **nitrogenous base** | 30 | **nitrogenous base** |
| 31 | : A nitrogen-containing molecule that acts as a base; often referring to one of the purine or pyrimidine components of nucleic acids. | 31 | A nitrogen-containing molecule that acts as a base; often referring to one of the purine or pyrimidine components of nucleic acids. |
| 32 | 32 | ||
| 33 | **phosphate group** | 33 | **phosphate group** |
| 34 | : A molecular group consisting of a central phosphorus atom bound to four oxygen atoms. | 34 | A molecular group consisting of a central phosphorus atom bound to four oxygen atoms. |
| 35 | 35 | ||
| 36 | **RGB** | 36 | **RGB** |
| 37 | : The RGB color model is an additive color model in which red, green and blue light are added together in various ways to reproduce a broad array of colors. | 37 | The RGB color model is an additive color model in which red, green and blue light are added together in various ways to reproduce a broad array of colors. |
| 38 | 38 | ||
| 39 | **GCC** | 39 | **GCC** |
| 40 | : The GNU Compiler Collection is a compiler system produced by the GNU Project supporting various programming languages. | 40 | The GNU Compiler Collection is a compiler system produced by the GNU Project supporting various programming languages. |
| 41 | 41 | ||
| 42 | ## Data encoding | 42 | ## Data encoding |
| 43 | 43 | ||
diff --git a/template/_includes.html b/template/_includes.html index 4996940..8627609 100755 --- a/template/_includes.html +++ b/template/_includes.html | |||
| @@ -1,9 +1,3 @@ | |||
| 1 | <!-- user code --> | 1 | <!-- user code --> |
| 2 | 2 | ||
| 3 | <script src="/script.js"></script> | 3 | <script src="/script.js"></script> |
| 4 | |||
| 5 | <!-- code highlighting --> | ||
| 6 | |||
| 7 | <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/github.min.css"> | ||
| 8 | <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> | ||
| 9 | <script>hljs.initHighlightingOnLoad();</script> | ||
diff --git a/template/_libraries.html b/template/_libraries.html new file mode 100644 index 0000000..1a7b911 --- /dev/null +++ b/template/_libraries.html | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <!-- katex math library --> | ||
| 2 | |||
| 3 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous"> | ||
| 4 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.js" integrity="sha384-pK1WpvzWVBQiP0/GjnvRxV4mOb0oxFuyRxJlk6vVw146n3egcN5C925NCP7a7BY8" crossorigin="anonymous"></script> | ||
| 5 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/contrib/auto-render.min.js" integrity="sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script> | ||
| 6 | |||
| 7 | <!-- code highlighting --> | ||
| 8 | |||
| 9 | <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/github.min.css"> | ||
| 10 | <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> | ||
| 11 | <script>hljs.initHighlightingOnLoad();</script> | ||
diff --git a/template/post.html b/template/post.html index 00be220..512fff6 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -63,6 +63,8 @@ | |||
| 63 | 63 | ||
| 64 | {{template "_includes.html"}} | 64 | {{template "_includes.html"}} |
| 65 | 65 | ||
| 66 | {{template "_libraries.html"}} | ||
| 67 | |||
| 66 | </body> | 68 | </body> |
| 67 | 69 | ||
| 68 | </html> | 70 | </html> |
diff --git a/template/style.css b/template/style.css index d4832b1..8152dab 100755 --- a/template/style.css +++ b/template/style.css | |||
| @@ -313,6 +313,10 @@ article strong { | |||
| 313 | font-weight: 600; | 313 | font-weight: 600; |
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | article .katex-display { | ||
| 317 | margin: 3em 0 !important; | ||
| 318 | } | ||
| 319 | |||
| 316 | /* audio */ | 320 | /* audio */ |
| 317 | 321 | ||
| 318 | audio { | 322 | audio { |
