-
Notifications
You must be signed in to change notification settings - Fork 158
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
Ability to output a raw string from an FSI evalutation instead of having it wrapped in code blocks #611
Comments
No. This kind of parameterization sits very awkwardly with a command line tool What specifically are you looking for ? I never fully understood the use cases for custom evaluators, given the complexity they bring |
Thanks for your answer. I'm looking for embedding Plotly charts like we did here. |
Sry my description was very unspecific. I understand that using the custom evaluator with the tools is not doable. So the follow up question would be: Is it possible to prevent the standard evaluator from packing the evaluated result into |
OK I see. Yes we can address this somehow However I'd really appreciate step by step instructions about which charting library etc. Exact step by step please, including actual and expected results |
ReproductionI created a repo for illucidating my problem: https://github.com/HLWeil/FsDocsEvaluatedCharts The repro steps are described there. The created
Desired resultThe chart html gets correctly formatted not only in the third, but also in the second case. Actual resultThe chart html does not get formatted correctly but as a code snippet. This is because the standard FsiEvaluator inserts the evaluated result into Possible solutionMaybe it is possible to offer a |
FSharpPlus has a plantuml based diagram - it works by generating a diagram from a local text-file. The diagram is encoded into an url that uses www.plantuml.com/plantuml to generate the actual graphic. We currently manually inject this url as a post-processing step: The call to_url is from Plantuml module: which then replaces {plantUMLDiag} here: producing: I'm moving it over to use the fsdocs cmd, and am looking for a way to do this. Might be another use case? |
Hey, is it possible to somehow use a custom
fsiEvaluator
when runningdotnet fsdocs build
?The text was updated successfully, but these errors were encountered: