components/prism-pug.js

Branch


Log

Author Commit Date CI Message
Michael Schmidt 0390e644 2021-12-07T18:07:29 Pug: Improved filter tokenization (#3258) Co-authored-by: Jason Kurian <JaKXz@users.noreply.github.com>
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Michael Schmidt e8d3b503 2021-06-27T14:56:07 ESLint: Added `regexp/strict` rule (#2944)
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
Michael Schmidt b03e7eb0 2021-04-17T22:30:39 ESLint: Added semi rule (#2836)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
那里好脏不可以 7f948ecb 2020-05-03T23:40:09 pug: Improved class and id detection in tags (#2358)
Michael Schmidt 5d7aab56 2020-03-26T23:30:29 Updated all String.propotype.replace calls for literal strings
Michael Schmidt ad3fa443 2019-10-16T11:44:14 Inlined some unnecessary rest properties (#2082) This inlines a few unnecessary `rest` properties.
Michael Schmidt c9a32674 2019-03-05T22:06:33 Fixed dependencies of Pug and Pure (#1759) This removes dependencies of Pug and Pure to languages which do not exist (yet).
Michael Schmidt e894fc89 2019-01-23T03:05:58 Inline regex source with gulp (#1537) Let gulp inline the source of inline regular expressions without flags in minified files. This means that gulp will replace `/regex/.source` with `'regex'`. ## Motivation Most IDEs support syntax highlighting and checking of JS inline regular expressions. This makes them easier to work with and less error-prone than having a string hold the expression. Inline regexes are also usually shorter than their string counterparts because you don't have to escape backslashes. There are also some linters (e.g. ESLint) for JS regular expression which (of course) won't work on strings. This lets you enjoy the advantages of inline regexes without worrying about the additional overhead of compiling another regular expression on the client side.
Golmote 76dc9257 2017-10-22T15:15:22 Pug: Don't use captures if not needed
Jake Miller f680ee70 2017-10-10T15:05:49 Updated all instances of jade to be named pug.