Skip to content

API Reference

Trais McAllister edited this page Aug 15, 2024 · 1 revision

API Reference

This section contains detailed API documentation for all components of the MtconnectTranspiler.CodeGenerators.ScribanTemplates project.

Core Classes

ITemplateLoaderService

ITemplateLoaderService is responsible for loading templates from files or embedded resources and initializing the template context.

IScribanTemplateGenerator

IScribanTemplateGenerator handles the generation of files based on Scriban templates.

Code Formatters

  • CSharpCodeFormatter: Formats code for C#.
  • PythonCodeFormatter: Formats code for Python.
  • JavaScriptFormatter: Formats code for ES6 JavaScript.

Markdown Interpreters

  • VisualStudioSummaryInterpreter: Converts markdown to Visual Studio XML comments.
  • HtmlInterpreter: Converts markdown to HTML.
  • PdfInterpreter: Converts markdown to LaTeX for PDF generation.

Explore the full class list and detailed documentation in the API browser.

Clone this wiki locally