A beautiful blogging platform for the JankariTech peoples.
-
Requirements
-
Install Dependencies
pnpm install
-
Serve
pnpm dev
This should start a development server on port 3000.
- Create a markdown file inside
src/assets
folder - Add meta information at the top as shown below
--- title: Very Interesting Blog (**required**) authorName: John Doe authorAvatar: https://some.link.jpg (must be an image URL, **required**) authorLink: https://github.com/John createdAt: Oct 30, 2019 (must be in the format `MMM dd, yyyy` e.g., `Oct 30, 2019` or `MMMM dd, yyyy` e.g., `October 30, 2019`, **required**) updatedAt: Oct 30, 2023 (must be in the format `MMM dd, yyyy` e.g., `Oct 30, 2023` or `MMMM dd, yyyy` e.g., `October 30, 2023`, **optional**) tags: vue, jest, unit, testing (separate multiple items with a comma `,` character, **required**) banner: https://some.link.jpg (must be an image URL, **required**) seriesTitle: Unit Testing is Fun (if only this post belongs to a series, **optional**) episode: 1 (episode number of the series, **optional**, required if the seriesTitle is set) ---
- Wrap meta information with two horizontal lines
- Add the main content below the last horizontal line from the meta block
--- meta information... --- # heading 1 some content # heading 2 other content
- Check for your markdown files compatibility with the blog site
This will check the markdown files inside
pnpm markdown:lint
src/assets
folder for the following:- Missing meta information
- Usage of the first heading tag (
#
) inside the main content - Usage of dead or insecure image links
- If these all checks are good, make a PR with a new markdown file as a brand-new blog post.