WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Missing Literate.FormatLiterateNodes #970

@Slesa

Description

@Slesa

I am trying to reanimate g'old FsReveal... from .NET4 to .Net8 - what could possibly go wrong?
When I run it in the new version, I get a plain HTML. It is missing the division into slides.

The old version used FSharp.Literate V4.1.0, and there was something like

let doc = Literate.FormatLiterateNodes presentation.Document
let htmlSlides = Literate.WriteHtml doc
let toolTips = doc.FormattedTips

As far as I understand, this FormatLiterateNodes creates the separation into the slides. FormatLiterateNodes was only a shortcut to Transformations.replaceLiterateParagraphs, which still exists but is internal.

Has anybody some kind of hint how I can rewrite this code with the latest FSharp.Formatting please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions