From bec5baadbf525d1656c55d3a055a772db8c2e47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Cea=20Fontenla?= Date: Thu, 26 Oct 2023 22:54:52 +0200 Subject: [PATCH] fixes #11: highlight link and description gap --- CV/snapshot.html | 6 ++++-- lib/generators/rightColumn/highlightsGenerator.ts | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CV/snapshot.html b/CV/snapshot.html index a88349a..ad6ccb5 100644 --- a/CV/snapshot.html +++ b/CV/snapshot.html @@ -1310,7 +1310,8 @@
- Programming and networking anual contest hosted by Tuenti. +

Programming and networking anual contest hosted by Tuenti.

+
@@ -1350,7 +1351,8 @@
- Programming and networking anual contest hosted by Tuenti. +

Programming and networking anual contest hosted by Tuenti.

+
diff --git a/lib/generators/rightColumn/highlightsGenerator.ts b/lib/generators/rightColumn/highlightsGenerator.ts index e8b99e6..237a14e 100644 --- a/lib/generators/rightColumn/highlightsGenerator.ts +++ b/lib/generators/rightColumn/highlightsGenerator.ts @@ -1,3 +1,4 @@ +import { marked } from "marked"; import { assets } from "../../assets"; import { Highlight } from "../../mac"; import { generatorFrom, sortByDates } from "../../utils"; @@ -56,7 +57,7 @@ export const generateHighlights = generatorFrom(async function* (highlights: Hig details?.description ? `
- ${details.description} + ${marked(details.description)}
` : ""