@khalidabuhakmeh @mattwilcox For sure, it can parse fragments, that’s the example on the README: https://github.com/11ty/webc?tab=readme-ov-file#javascript-api
Might be worth looking at the test suite for more examples too:
https://github.com/11ty/webc/blob/main/test/parserTest.js