var foo = 5; const foo = 5; You can tell markdown-doctest to skip examples by adding <!-- skip-test --> before the example: this is a test <!-- skip-test --> ```js // not a runnable example console.log(...); ```