You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Scryber.Components;
using var doc = Document.ParseDocument("Test.html");
doc.Params["author"] = "Hello World";
using var stream = new MemoryStream();
doc.SaveAsPDF(stream);
var fileContents = stream.ToArray();
File.WriteAllBytes("Test.pdf", fileContents);
Start program
PDF shows "Hello {{author}}!"
Expected behavior
A PDF saying "Hello Hello World!"
Screenshots
Desktop (please complete the following information):
If you haven't managed to sort this, please upgrade to the latest version 6.x.x (beta) - There are a few things we need to sort before really pushing it out and these may affect layout.
Version 5 docs are here, and use the {@:author} notation.
Describe the bug
I just wanted to get into Scryber, as it seems very promising. But I cannot even get the minimal sample to work.
To Reproduce
Install-Package Scryber.Core
(Version 5.0.7)Test.html
Program.cs
Expected behavior
A PDF saying "Hello Hello World!"
Screenshots
Desktop (please complete the following information):
Additional context
Is there anything I missed? I used https://scrybercore.readthedocs.io/en/latest/ to create this.
The text was updated successfully, but these errors were encountered: