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

add meet page and update image style

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2023-01-30 22:25:21 +05:30
parent 7f4e4f5938
commit 921f5ee883
8 changed files with 105 additions and 11 deletions
+4
View File
@@ -41,6 +41,10 @@ customElements.define(
return `<p>${text}</p>`;
};
renderer.image = (href, title, text) => {
return `<img class="max-w-xs grow-0 shrink-0 basis-auto w-full" src=${href} alt="${text}">`;
};
marked.setOptions({
renderer: renderer,
highlight: function (code, lang) {