Added markdown render

This commit is contained in:
Eduard Urbach 2018-03-23 21:13:04 +01:00
parent e30cdd7df4
commit b3f18437db
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ component PopularCompaniesScrollable(companies []*arn.Company, companyToAnime ma
Icon("building") Icon("building")
span.popular-company-name= company.Name.English span.popular-company-name= company.Name.English
p.popular-company-body.popular-company-description(href=company.Link())= company.Description .popular-company-body.popular-company-description!= markdown.Render(company.Description)
.popular-company-footer .popular-company-footer
.company-anime .company-anime

View File

@ -1,4 +1,4 @@
const popular-company-height = 250px const popular-company-height = 246px
.popular-companies .popular-companies
horizontal-wrap horizontal-wrap
@ -26,6 +26,10 @@ const popular-company-height = 250px
.popular-company-description .popular-company-description
clip-long-text clip-long-text
margin-top 0.4rem
p
display inline
.popular-company-icon .popular-company-icon
// //