We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pug Version: 3.0.0
Node Version: 14.12.0
pug.renderFile('input.pug', { plugins: [{ lex: { blank(lexer) { if (lexer.input[0] === '~') { lexer.tokens.push(lexer.tok('text', 'twiddle-dee-dee')); lexer.consume(1); lexer.incrementColumn(1); return true; } } } }] });
p Look at #[~]
<p>Look at twiddle-dee-dee</p>
Error: Pug:1:13 > 1| p Look at #[~] -------------------^ unexpected text "~]"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Pug Version: 3.0.0
Node Version: 14.12.0
Input JavaScript Values
Input Pug
Expected HTML
Actual HTML
Additional Comments
The text was updated successfully, but these errors were encountered: