Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for F#.Formatting literate programming #22

Merged
merged 6 commits into from
Jun 8, 2020

Conversation

Krzysztof-Cieslak
Copy link
Member

@Krzysztof-Cieslak Krzysztof-Cieslak commented May 26, 2020

So this is adding support for F# Formatting literate programming feature discussed in #21

What should be implemented

  • Loader loading fsx files and transforming them
  • Port JS and CSS from F#.Formatting template (done partially, only for tooltips)
  • Add download script link
  • Use highlight JS styles for CSS classes assigned by F# Formatting
  • Investigate using F# Formatting for markdown files instead of Markdig to have a single way of transforming markdown into html (check if F# Formatting supports features like tables)

Fixes #21

test

CC: @jbeeko

@Krzysztof-Cieslak Krzysztof-Cieslak changed the title Add support for F#.Formatting literal programming Add support for F#.Formatting literate programming May 26, 2020
@jbeeko
Copy link
Contributor

jbeeko commented May 26, 2020

Re tables:

fsprojects/FSharp.Formatting#9

@Krzysztof-Cieslak
Copy link
Member Author

Krzysztof-Cieslak commented May 27, 2020

This PR is now using F#.Formatting also for processing markdown files. Markdig is still used for API Reference comments due to reasons (MetadataGenerator API from F#.F is not exposing some of the options I need). Turns out, I was wrong.

@Krzysztof-Cieslak
Copy link
Member Author

OK, this is ready - the link part is not done yet, I'll do it separate PR and in next version. But for now, this is already a huge improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support a Literate .fsx File
2 participants