diff options
| author | Bobby <[email protected]> | 2022-03-21 05:33:41 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-03-21 05:33:41 -0400 |
| commit | b2e08063441f73ea5196e28910ff21047cdbbf8c (patch) | |
| tree | 84ec0273b79b66961417d737a2e2f8444ce70528 /public | |
| parent | d8363271eef45971d835d9abe9553d9894664f2a (diff) | |
| download | luciferreeves.github.io-b2e08063441f73ea5196e28910ff21047cdbbf8c.tar.xz luciferreeves.github.io-b2e08063441f73ea5196e28910ff21047cdbbf8c.zip | |
fix posts code rendering
Diffstat (limited to 'public')
| -rw-r--r-- | public/views/editPost.html | 4 | ||||
| -rw-r--r-- | public/views/post.html | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/public/views/editPost.html b/public/views/editPost.html index 371b455..16c2bf4 100644 --- a/public/views/editPost.html +++ b/public/views/editPost.html @@ -129,9 +129,7 @@ <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"></script> - <script> - - </script> + <script src="/static/assets/js/pages/publish.js"></script> </body> </html>
\ No newline at end of file diff --git a/public/views/post.html b/public/views/post.html index e2f9bdc..7a799bb 100644 --- a/public/views/post.html +++ b/public/views/post.html @@ -36,6 +36,11 @@ pre { padding: 10px; } + img { + width: 80%; + display: block; + margin: 20px 0px; + } </style> </head> @@ -74,6 +79,8 @@ <script src="/static/assets/js/bootstrap-386.js"></script> <script src="/static/assets/js/bootstrap-transition.js"></script> <script src="/static/assets/js/bootstrap-collapse.js"></script> + <script src="/static/assets/js/marked.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script> </body> </html>
\ No newline at end of file |
