Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
lexbor/html/html.h
✓ #include <lexbor/html/html.h>
Parse a simple HTML string using Lexbor
#include <lexbor/html/html.h>
#include <stdio.h>
int main() {
lxb_html_document_t *doc = lxb_html_document_create();
if (doc == NULL) {
fprintf(stderr, "Failed to create document\n");
return 1;
}
lxb_html_document_parse(doc, (const lxb_char_t*)"<html><body>Hello</body></html>", 30);
printf("Parsed HTML\n");
lxb_html_document_destroy(doc);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.