Skip to content

Commit

Permalink
fixes #11: highlight link and description gap
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancea committed Oct 26, 2023
1 parent 826041b commit bec5baa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CV/snapshot.html
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,8 @@


<div class="right-column__highlight-details-description">
Programming and networking anual contest hosted by Tuenti.
<p>Programming and networking anual contest hosted by Tuenti.</p>

</div>

</div>
Expand Down Expand Up @@ -1350,7 +1351,8 @@


<div class="right-column__highlight-details-description">
Programming and networking anual contest hosted by Tuenti.
<p>Programming and networking anual contest hosted by Tuenti.</p>

</div>

</div>
Expand Down
3 changes: 2 additions & 1 deletion lib/generators/rightColumn/highlightsGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { marked } from "marked";
import { assets } from "../../assets";
import { Highlight } from "../../mac";
import { generatorFrom, sortByDates } from "../../utils";
Expand Down Expand Up @@ -56,7 +57,7 @@ export const generateHighlights = generatorFrom(async function* (highlights: Hig
details?.description
? `
<div class="right-column__highlight-details-description">
${details.description}
${marked(details.description)}
</div>
`
: ""
Expand Down

0 comments on commit bec5baa

Please sign in to comment.