Dave Glick
Dave Glick
Maybe it would help if I explained the specific use case. In Statiq each document has a "content provider" that can be used to read the content of that document...
Excellent idea! I'm going to need to think about implementation a bit though because the line number in the file doesn't necessarily line up with what the Razor engine sees...
With the new JavaScript engine support it should now be possible to implement this using the native TypeScript compiler API. See https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API
Yeah, that should probably be served by default. Root cause is that Kestrel won't serve any content types it doesn't know about. Try adding `--content-type xml=text/xml` on the CLI and...
The goal would be to convert HTML content stored in documents. The specific set of documents that get converted, how they’re aggregated into a single output PDF, and other details...
Could consider something like CefSharp which embeds the Chromium engine: https://github.com/cefsharp/CefSharp Generating a PDF would be essentially one or two lines of code: https://stackoverflow.com/a/61723341/6287173 ``` var success = await webBrowserObject.PrintToPdfAsync("filename.pdf",...
This behavior is mostly by design. YAML is more expressive than what a typical C# object graph can hold. For example, imagine if you also mixed in a few named...
I'd love to see that as standard in the recipe and across all the blog themes. It'll require adding the metadata to the `BlogKeys` collection and the corresponding code comments...
Easiest way to test is to specify a theme folder on the command line: https://github.com/daveaglick/daveaglick/blob/77c98185bf5730a96fd1506970d33c5e0c786738/build.cake#L41-L42
At some point, it would be cool to get a Brotli compression module (or to work it into the Image module). The tradeoff is build speed though, I've heard Brotli...