Module: Inky
- Defined in:
- lib/inky.rb
Overview
Inky — Transform email templates into email-safe HTML.
Powered by Rust via Fiddle FFI.
Defined Under Namespace
Modules: Native Classes: BuildError, BuildResult, Error
Constant Summary collapse
- VERSION =
"2.0.0"
Class Method Summary collapse
-
.build(html, base_path: nil, **options) ⇒ BuildResult
Run the full build pipeline: layouts, includes, custom components, data merge, framework SCSS, component transform, CSS inlining, and output cleanup — identical to
inky build. -
.migrate(html) ⇒ String
Migrate v1 Inky syntax to v2.
-
.migrate_with_details(html) ⇒ Hash
Migrate v1 syntax and return detailed results.
-
.transform(html, columns: 12) ⇒ String
Transform Inky HTML into email-safe table markup.
-
.transform_inline(html) ⇒ String
Transform Inky HTML and inline CSS from