html_to_markdown_ffi

Typed HTML to Markdown conversion for the Zuraffa ecosystem: a Rust FFI core behind a pure-Dart converter port with federated native adapters.

Use

Preserved public API (pre-migration compatible)

import 'package:html_to_markdown_ffi/html_to_markdown.dart';

final md = convert('<h1>Title</h1>');
// md.content == '# Title'

Zuraffa stack

import 'package:html_to_markdown_ffi/html_to_markdown_ffi.dart';

final service = HtmlToMarkdownFfiService.native(); // in-process bridge
final result = await service.convertAsync('<h1>Title</h1>');

Or register the stack on GetIt and wire a platform adapter's port for the running platform:

final getIt = GetIt.instance;
registerHtmlToMarkdownFfiDependencies(getIt, port: myPlatformPort);
final service = getIt<HtmlToMarkdownFfiService>();

Platform adapters

Ship the adapter for each platform you target — it bundles the prebuilt native binary and registers the port:

The shared envelope machinery lives in html_to_markdown_ffi_platform.

Libraries

convert
exceptions
html_to_markdown
High-performance HTML to Markdown converter for Dart and Flutter.
html_to_markdown_bindings
html_to_markdown_ffi
html_to_markdown_ffi — typed HTML to Markdown conversion for the Zuraffa ecosystem (spec 064 migration of the standalone FFI package).
models/conversion_options
models/conversion_result
models/enums
native_library
visitor
visitor_bridge