Skip to content

Commit

Permalink
Merge pull request #915 from ljcamargo/md-home
Browse files Browse the repository at this point in the history
Markdown rendering on homepage
  • Loading branch information
WrathfulSpatula authored Jun 14, 2024
2 parents 845a72c + ec1b3d4 commit 30a69a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/FeaturedTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useEffect, useState } from 'react'
import axios from 'axios'
import { Link } from 'react-router-dom'
import { library } from '@fortawesome/fontawesome-svg-core'
import { renderLatex } from './RenderLatex'
import { faHeart, faExternalLinkAlt, faChartLine } from '@fortawesome/free-solid-svg-icons'
import config from '../config'
import SotaChart from './SotaChart'
Expand Down Expand Up @@ -83,7 +84,7 @@ const FeaturedTask = (props) => {
<span> <Link to='/QEDC' onMouseEnter={handleOnMouseEnter} onMouseLeave={handleOnMouseLeave}><span className='link'>(QED-C)</span></Link></span>}
<span className='float-right'><SubscribeButton item={item} type='task' isLoggedIn={props.isLoggedIn} onMouseEnter={handleOnMouseEnter} onMouseLeave={handleOnMouseLeave} /></span>
</h5>
{description}
{description ? renderLatex(description) : ""}
</div>
</div>
<div className='row h-100'>
Expand Down

0 comments on commit 30a69a9

Please sign in to comment.