1234567891011 |
- "use strict";
- const extract = require("./html/extract-styles");
- const parseStyles = require("./html/parse-styles");
- module.exports = function parse(source, opts) {
- const document = parseStyles(source, opts, extract(source, opts));
- document.source.lang = "html";
- document.source.syntax = opts.syntax;
- return document;
- };
|