Skip to content

Commit

Permalink
https://github.com/haxtheweb/issues/issues/2170
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Nov 15, 2024
1 parent f71abe5 commit 43fe838
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/lib/programs/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,16 @@ export async function siteCommandDetected(commandRun) {
console.log(page);
break;
case 'html':
console.log(await activeHaxsite.getPageContent(page));
break;
case 'schema':
// next up
let html = await activeHaxsite.getPageContent(page);
console.log(html);
let dom = parse(html);
console.log(dom);
break;
case 'md':
// @todo use the built in endpoints broker
break;
}
}
Expand Down

0 comments on commit 43fe838

Please sign in to comment.