Skip to content

Commit

Permalink
feat: added basic md interpretation to project slides
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-i committed Jan 1, 2024
1 parent 0de71f8 commit 2af78be
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Link } from '@/components/Link';
import { GatsbyImage, getImage } from 'gatsby-plugin-image';
import { useTranslation } from 'gatsby-plugin-react-i18next';
import { useState } from 'react';
import ReactMarkdown from 'react-markdown';

interface ProjectSlideProps {
project: Project;
Expand Down Expand Up @@ -56,7 +57,7 @@ export const ProjectSlide = ({ project }: Readonly<ProjectSlideProps>) => {
{isExpanded ? (
<>
<h3 className="font-bold">{t(`components.projects.summary`)}</h3>
{project.summary}
<ReactMarkdown>{project.summary}</ReactMarkdown>
</>
) : (
<>
Expand Down

0 comments on commit 2af78be

Please sign in to comment.