How to make FsLab tables visually?

Is there any pattern or trick to help the data tables visually look in FsLab? The tables that I create are not as good as the tables that I see in the examples / tutorials.

As an example, when I do this example , I get a table that looks like this:

enter image description here

whereas the Tomas passage pattern looks much prettier with fonts and looks / feels matching the surrounding page:

enter image description here

Is there any topic, setup, or control in FsLab that I am missing, or is Thomas just doing some css magic on his site?

It seems that most of the other examples that I see on the Internet look much closer to the beautiful version than the version I see

+4
source share
1 answer

The latest version of FsLab changed the formatting work - instead of having built-in formatting elements for Deedle, it now uses fsi.AddHtmlPrinterone that also works in Atom.

The style for tables is currently hard-coded in formatting for Deedle.

I think it should be possible to override those who have the appropriate CSS. In the end, the generated document is just HTML.

FsLab , HTML, "" ( ), ( HTML).

, script:

#if HAS_FSI_ADDHTMLPRINTER
fsi.HtmlPrinterParameters.["html-standalone-output"] <- true
#endif

- -, , , .

+5

Source: https://habr.com/ru/post/1656313/


All Articles