Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionic-team/stencil-ssg
Stencil Static Site Generation Utilities
https://github.com/ionic-team/stencil-ssg
ssg static-site static-site-generator stencil stenciljs
Last synced: about 2 months ago
JSON representation
Stencil Static Site Generation Utilities
- Host: GitHub
- URL: https://github.com/ionic-team/stencil-ssg
- Owner: ionic-team
- License: mit
- Archived: true
- Created: 2020-09-17T20:10:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-26T22:29:39.000Z (about 4 years ago)
- Last Synced: 2024-09-26T16:41:45.309Z (about 2 months ago)
- Topics: ssg, static-site, static-site-generator, stencil, stenciljs
- Language: JavaScript
- Homepage: https://stenciljs.com/
- Size: 2.28 MB
- Stars: 14
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Stencil Static Site Generation Utilities 🏎💨
Utility functions and helpers for building static sites with [Stencil](https://stenciljs.com/):
- Parse Markdown
- Parse HTML
- Parse Yaml Front Matter
- Code Syntax Highlighting with [Prism](https://prismjs.com/)
- Generate site table of contents
- Convert Markdown/HTML into serializable JSX
- Functional Component to render serialized JSX with minimal runtime
- Slugify text## Syntax Highlighting
Uses [Prism](https://prismjs.com/) at build-time for code block syntax highlighting.
Prism JavaScript is not needed at run-time, however the Prism CSS must be provided by the site.### Setting Code Language
```typescript
const mph: number = 88;
```### Adding Code Diffs
```diff-typescript
- const mph: number = 88;
+ let year = 85;
```