FsReveal
FsReveal copied to clipboard
Modernize to use Fake 5 and .NET Core
The code looks kind of outdated, doesn't use .NET Core or FAKE 5.
It would be nice, if this could be modernized and make use of the current tech. I already tried to port this stuff, but I didn't fully get the structure and had massive problems so it looks like I am not able to do it.
Hi @NicoVIII you can take my fork as a start https://github.com/vilinski/FsReveal/tree/v2 Ported FSharp.Formatting and Fake. Tests are green. But fsx files need some love
As an alternative, what if this tool became more like the following:
- fsreveal library sources
- dotnet tool to watch or publish the slides (consumes the fsreveal library)
- dotnet template to scaffold out an initial project layout (dotnet tool installed + initial slides)
This would make it easier to update fsreveal in the sets of slides that use it, without a huge amount of simply copy/pasting.
agreed with all points. Already working in this direction, made a PoC dotnet tool fsreveal
.
Only the branch is full of dirt, unsure wheteher I can finish it properly myself.
❯ fsreveal --help
USAGE: fsreveal [--help] [--input <string>] [--output <string>] [watch]
OPTIONS:
--input <string> Input directory. defaults to current folder or ./slides if exists
--output <string> Output directory. defaults to ./output
watch Watch the input directory
--help display this list of options.
It could also be a part of fsdocs
- additional option
--presentation
doing transformation to slides - alternative
_template.html
with reveal.js
@vilinski this sounds great. Is there any way, we can help you?
Sure. I'm not a frontender so struggling to keep the js/css stuff working or figure out why not anymore. I've managed to generate the example slides with generate.fsx or my own slides with the compiled tool, but thats' all until now
Sorry, I am of no help here. I've tinkered a while to generate something but there seem to be so many breaking changes in so many dependencies I do not know well enough (yet). After fixing or working around some of the issues I encounter, I'm not even sure, how the different pieces are intended to work together.