2082001ff8
* Initial tests set up This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test. Like in snowpack you set up a little project. In our tests you can say: ```js const result = await runtime.load('/blog/hello-world') ``` And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML. * Bring snowpack example in * Formatting
31 lines
633 B
SCSS
31 lines
633 B
SCSS
// GitHub markdown styles
|
|
@use './_github-markdown';
|
|
|
|
// Syntax highlighting
|
|
@use './_prism';
|
|
|
|
// Global styles
|
|
@use './_globals';
|
|
|
|
// Typography
|
|
@use './_typography';
|
|
|
|
// Components
|
|
@use './components/container';
|
|
@use './components/hero';
|
|
@use './components/icon';
|
|
@use './components/logo';
|
|
@use './components/nav';
|
|
@use './components/old';
|
|
@use './components/toc';
|
|
@use './components/view';
|
|
@use './components/search';
|
|
@use './components/feature-list';
|
|
@use './components/button';
|
|
@use './components/copy-button';
|
|
@use './components/card-grid';
|
|
|
|
// Pages
|
|
@use './pages/plugins';
|
|
|
|
@import 'docsearch.js/dist/cdn/docsearch.min.css';
|