You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Feature request? Check the past discussions to see if it has been brough up prev
26
26
-[David Levai's digital garden](https://davidlevai.com/) - customized design and added email subscriptions
27
27
-[Thinh's Corner](https://thinhcorner.com/) - [customized layout](https://github.com/Th1nhNg0/th1nhng0.vercel.app/blob/5e73a420828d82f01e7147512a2c3273c4ec19f8/layouts/PostLayout.js) with sticky side table of contents
28
28
-[Leo's Blog](https://leohuynh.dev) - Tuan Anh Huynh's personal site. Add Snippets Page, Author Profile Card, Image Lightbox, ...
29
-
-[thvu.dev](https://thvu.dev) - Added `mdx-embed`, view count, reading minutes and more. Keep reading at: [Over-engineering thvu.dev](https://www.thvu.dev/blog/over-engineering-thvu-dev)
29
+
-[thvu.dev](https://thvu.dev) - Added `mdx-embed`, view count, reading minutes and more.
30
30
31
31
Using the template? Feel free to create a PR and add your blog to this list.
32
32
@@ -47,6 +47,7 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea
47
47
-[MDX - write JSX in markdown documents!](https://mdxjs.com/)
48
48
- Server-side syntax highlighting with line numbers and line highlighting via [rehype-prism-plus](https://github.com/timlrx/rehype-prism-plus)
49
49
- Math display supported via [KaTeX](https://katex.org/)
50
+
- Citation and biliography support via [rehype-citation](https://github.com/timlrx/rehype-citation)
50
51
- Automatic image optimization via [next/image](https://nextjs.org/docs/basic-features/image-optimization)
51
52
- Flexible data retrieval with [mdx-bundler](https://github.com/kentcdodds/mdx-bundler)
52
53
- Support for tags - each unique tag will be its own page
Copy file name to clipboardExpand all lines: data/blog/introducing-tailwind-nextjs-starter-blog.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: 'Introducing Tailwind Nextjs Starter Blog'
3
3
date: '2021-01-12'
4
-
lastmod: '2021-09-08'
4
+
lastmod: '2021-11-14'
5
5
tags: ['next-js', 'tailwind', 'guide']
6
6
draft: false
7
7
summary: 'Looking for a performant, out of the box template, with all the best in web technology to support your blogging needs? Checkout the Tailwind Nextjs Starter Blog template.'
@@ -51,6 +51,7 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea
51
51
-[MDX - write JSX in markdown documents!](https://mdxjs.com/)
52
52
- Server-side syntax highlighting with line numbers and line highlighting via [rehype-prism-plus](https://github.com/timlrx/rehype-prism-plus)
53
53
- Math display supported via [KaTeX](https://katex.org/)
54
+
- Citation and biliography support via [rehype-citation](https://github.com/timlrx/rehype-citation)
54
55
- Automatic image optimization via [next/image](https://nextjs.org/docs/basic-features/image-optimization)
55
56
- Flexible data retrieval with [mdx-bundler](https://github.com/kentcdodds/mdx-bundler)
56
57
- Support for tags - each unique tag will be its own page
Copy file name to clipboardExpand all lines: data/blog/new-features-in-v1.mdx
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
---
2
2
title: 'New features in v1'
3
3
date: 2021-08-07T15:32:14Z
4
-
lastmod: '2021-10-27'
4
+
lastmod: '2021-11-14'
5
5
tags: ['next-js', 'tailwind', 'guide']
6
6
draft: false
7
7
summary: 'An overview of the new features released in v1 - code block copy, multiple authors, frontmatter layout and more'
8
8
layout: PostSimple
9
+
bibliography: references-data.bib
9
10
---
10
11
11
12
## Overview
@@ -329,7 +330,7 @@ To modify the styles, change the following class selectors in the `tailwind.css`
329
330
}
330
331
```
331
332
332
-
## Newletter component
333
+
## Newletter component (v1.1.3)
333
334
334
335
Introduced in v1.1.3, the newsletter component gives you a easy way to build an audience. It integrates with the following providers:
335
336
@@ -354,6 +355,37 @@ and is not compatible with a 100% static site export. Users should either self-h
354
355
355
356
A static site compatible alternative is to substitute the route in the newsletter component with a form API endpoint provider.
356
357
358
+
## Bibliography and Citations (v1.2.1)
359
+
360
+
`rehype-citation` plugin is added to the xdm processing pipeline in v1.2.1. This allows you to easily format citations and insert bibliography from an existing bibtex or CSL-json file.
A bibliography will be inserted at the end of the document, but this can be overwritten by specifying a `[^Ref]` tag at the intended location.
385
+
The plugin uses APA citation formation, but also supports the following CSLs, 'apa', 'vancouver', 'harvard1', 'chicago', 'mla', or a path to a user-specified CSL file.
386
+
387
+
See [rehype-citation readme](https://github.com/timlrx/rehype-citation) for more information on the configuration options.
388
+
357
389
## Upgrade guide
358
390
359
391
There are significant portions of the code that has been changed from v0 to v1 including support for layouts and a new mdx engine.
0 commit comments