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
Note: `FlexRender.Xml` depends only on `FlexRender.Core` -- the shared parsing engine (`TemplateEngine` + element/chart/shape parsers) lives in Core and operates on the format-neutral node model. `FlexRender.Yaml` = Core + YamlDotNet; `FlexRender.Xml` = Core only. Neither format package depends on the other.
97
+
94
98
## SkiaSharp Native Assets on Linux
95
99
96
100
SkiaSharp is a managed C# binding over the native Skia engine. On Linux (including CI runners and Docker), the native `libSkiaSharp.so` library is not bundled automatically and must be provided via a separate NuGet package.
@@ -466,8 +470,8 @@ When debugging or testing the WASM playground (`src/FlexRender.Playground/`), us
466
470
### Add new element type
467
471
468
472
1. Create AST model in `Parsing/Ast/` (sealed class extending `TemplateElement`)
469
-
2. Add parser function in `TemplateParser.cs` -- register in `_elementParsers` dictionary
470
-
3. Register all YAML properties in `KnownProperties.cs` (for YAML validation and typo suggestions)
473
+
2. Add parser function in `Parsing/Engine/ElementParsers.cs`(Core) -- register in `TemplateEngine._elementParsers` dictionary
474
+
3. Register all properties in `Parsing/Engine/KnownProperties.cs` (Core; for validation and typo suggestions)
471
475
4. Add flex-item property support via `switch` pattern matching in layout engine
472
476
5. Add rendering in `SkiaRenderer.RenderNode()` or create a provider
0 commit comments