Rostlab / JS16_ProjectF

In this project we will build a web portal for our GoT data analysis and visualization system. The website will integrate all the apps created in projects B-D with the help of the integration team assigned to Project E.
GNU General Public License v3.0
10 stars 8 forks source link

Font of the formulas is bad #391

Closed theocheslerean closed 8 years ago

theocheslerean commented 8 years ago

screenshot_2016-04-11-09-54-05

sacdallago commented 8 years ago

That's because the formulas are PNG images. Is that markdown interpreted text? Does someone know what Markdown parser is used?

https://github.com/cben/mathdown/wiki/math-in-markdown

yashha commented 8 years ago

we are using the react 'markdown-loader' which is using marked

sacdallago commented 8 years ago

Me and @goldbergtatyana have been giving a look, there seems to be no support for formulas out of the box for marked. @goldbergtatyana will produce some new images

goldbergtatyana commented 8 years ago

I regenerated formulas with the simple power point this time and updated the plod-description.md file to remove descriptions of algo2.

yashha commented 8 years ago

See like still no images :disappointed:

sacdallago commented 8 years ago

Hey I am with @goldbergtatyana and we were having a look at the output of the interpreted markdown and it would be nice if you could add the following CSS befaviours:

table {
  width: 100%;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  font-size: 17px;
}

thead {
  border-bottom: 1px solid white;
}

Eventually also

body {
  font-size: 17px;
}
goldbergtatyana commented 8 years ago

Pls see here: https://github.com/Rostlab/JS16_ProjectF/blob/develop/static/plod-description.md

yashha commented 8 years ago

It seems like they have to be stored locally i tried it and it worked But the images you are providing have a different background-color: image

yashha commented 8 years ago

I used this: ![alt text](.//Fmeasure.png "Title")

goldbergtatyana commented 8 years ago

What is the color code?

I used one of the online tools to get it and the tool showed to me #242524. Seems it was wrong!

yashha commented 8 years ago

I believe #1F1F1F :)

goldbergtatyana commented 8 years ago

The background color should be fixed now. Please check @yashha. Links are the same.

yashha commented 8 years ago

looks good ;) image