To use markdownlint in a web browser, first generate the necessary scripts using the build command, then include the minified browser script in your HTML. The library is exposed via globalThis.markdownlint.
```bash
# Generate scripts
npm run build-demo
<!-- In your HTML -->
<script src="demo/markdownlint-browser.min.js"></script>
<script>
const options = {
"strings": {
"content": "Some Markdown to lint."
}
};
// Access via globalThis
const results = globalThis.markdownlint.lintSync(options);
</script>