1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 15:50:08 +05:30

change appearance of the posts

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2023-04-01 19:16:19 +05:30
parent 1fd232f751
commit 2d6f7f929f
5 changed files with 45 additions and 110 deletions
-6
View File
@@ -30,12 +30,6 @@ customElements.define(
var lead = 0;
renderer.heading = (text, level) => {
if (level === 1) {
return `<header class="text-center w-full">
<h1>
${text}</h1>
</header>`;
}
const escapedText = text
.trim()
.toLowerCase()