mirror of
https://github.com/morten-olsen/http.md.git
synced 2026-02-08 00:46:28 +01:00
feat: add javascript code block support (#13)
This commit is contained in:
@@ -5,7 +5,7 @@ const codeHandler: ExecutionHandler = ({
|
||||
node,
|
||||
addStep,
|
||||
}) => {
|
||||
if (node.type !== 'code' || node.lang === 'http') {
|
||||
if (node.type !== 'code' || node.lang === 'http' || node.lang === 'javascript') {
|
||||
return;
|
||||
}
|
||||
const optionParts = node.meta?.split(',') || [];
|
||||
|
||||
Reference in New Issue
Block a user