{{ postData.frontMatter.title }}
+Reading time: {{ postData.readingTime }} min
+ + +diff --git a/examples/nuxt-tailwind/.editorconfig b/examples/nuxt-tailwind/.editorconfig
new file mode 100644
index 0000000..5d12634
--- /dev/null
+++ b/examples/nuxt-tailwind/.editorconfig
@@ -0,0 +1,13 @@
+# editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
diff --git a/examples/nuxt-tailwind/.gitignore b/examples/nuxt-tailwind/.gitignore
new file mode 100644
index 0000000..e8f682b
--- /dev/null
+++ b/examples/nuxt-tailwind/.gitignore
@@ -0,0 +1,90 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Node template
+# Logs
+/logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# TypeScript v1 declaration files
+typings/
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variables file
+.env
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+
+# next.js build output
+.next
+
+# nuxt.js build output
+.nuxt
+
+# Nuxt generate
+dist
+
+# vuepress build output
+.vuepress/dist
+
+# Serverless directories
+.serverless
+
+# IDE / Editor
+.idea
+
+# Service worker
+sw.*
+
+# macOS
+.DS_Store
+
+# Vim swap files
+*.swp
diff --git a/examples/nuxt-tailwind/README.md b/examples/nuxt-tailwind/README.md
new file mode 100644
index 0000000..a37ed2a
--- /dev/null
+++ b/examples/nuxt-tailwind/README.md
@@ -0,0 +1,69 @@
+# nuxt
+
+## Build Setup
+
+```bash
+# install dependencies
+$ yarn install
+
+# serve with hot reload at localhost:3000
+$ yarn dev
+
+# build for production and launch server
+$ yarn build
+$ yarn start
+
+# generate static project
+$ yarn generate
+```
+
+For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
+
+## Special Directories
+
+You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
+
+### `assets`
+
+The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets).
+
+### `components`
+
+The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components).
+
+### `layouts`
+
+Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts).
+
+
+### `pages`
+
+This directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing).
+
+### `plugins`
+
+The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins).
+
+### `static`
+
+This directory contains your static files. Each file inside this directory is mapped to `/`.
+
+Example: `/static/robots.txt` is mapped as `/robots.txt`.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static).
+
+### `store`
+
+This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.
+
+More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).
diff --git a/examples/nuxt-tailwind/buildMarkdown.js b/examples/nuxt-tailwind/buildMarkdown.js
new file mode 100644
index 0000000..ab66f6b
--- /dev/null
+++ b/examples/nuxt-tailwind/buildMarkdown.js
@@ -0,0 +1,36 @@
+const fs = require('fs');
+const path = require('path');
+const { processMarkdown } = require('epic-remark');
+
+const postsDirectory = path.join(__dirname, 'posts');
+const outputDirectory = path.join(__dirname, 'static');
+
+const processPosts = async () => {
+ const fileNames = fs.readdirSync(postsDirectory);
+ const posts = [];
+
+ for (const fileName of fileNames) {
+ const filePath = path.join(postsDirectory, fileName);
+ const fileContents = fs.readFileSync(filePath, 'utf8');
+ const options = {
+ addHeadingIds: true,
+ addTableOfContents: true,
+ calculateReadingTime: true,
+ readingTimeOptions: {
+ wordsPerMinute: 200,
+ round: true,
+ },
+ renderEmbeds: true,
+ }
+ const processedContent = await processMarkdown(fileContents, options);
+ posts.push(processedContent);
+ }
+
+ if (!fs.existsSync(outputDirectory)){
+ fs.mkdirSync(outputDirectory);
+ }
+
+ fs.writeFileSync(path.join(outputDirectory, 'posts.json'), JSON.stringify(posts));
+};
+
+processPosts();
diff --git a/examples/nuxt-tailwind/components/NuxtLogo.vue b/examples/nuxt-tailwind/components/NuxtLogo.vue
new file mode 100644
index 0000000..970eba0
--- /dev/null
+++ b/examples/nuxt-tailwind/components/NuxtLogo.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
diff --git a/examples/nuxt-tailwind/components/Tutorial.vue b/examples/nuxt-tailwind/components/Tutorial.vue
new file mode 100644
index 0000000..6b96cf0
--- /dev/null
+++ b/examples/nuxt-tailwind/components/Tutorial.vue
@@ -0,0 +1,52 @@
+
+
+
+ We recommend you take a look at the Nuxt Documentation, whether you are new or have previous experience with the framework.
+ To get started, remove Reading time: {{ postData.readingTime }} min Reading time: {{ postData.readingTime }} min
+ Welcome to your Nuxt Application
+
+
+ components/Tutorial.vue
and start coding in pages/index.vue
. Have fun!
+ {{ postData.frontMatter.title }}
+ {{ postData.frontMatter.title }}
+
Hello there! I'm excited to take you on a journey through the wonderful world of Markdown. This versatile language allows you to create richly formatted documents with ease. Whether you're a writer, developer, or just someone who loves streamlined content creation, Markdown has something for everyone!
\nLet's start with the basics - styling text. Markdown provides simple yet powerful tools to bring your words to life:
\n**
or __
. For example, bold text makes your words stand out.*
or _
. It's perfect for italic text.Monospace
: When you need to highlight code or technical terms, use backticks for monospace formatting
.Lists are a great way to organize information. Markdown supports both unordered (bullet points) and ordered (numbered) lists.
\nMarkdown also simplifies linking to other resources and embedding images:
\nPresenting data? Use tables for clarity:
\nFeature | Supported |
---|---|
Headings | Yes |
Lists | Yes |
Images | Yes |
Tables | Yes |
Markdown supports embedding content like GitHub gists and YouTube videos directly in your post:
\nMarkdown is an incredibly flexible and user-friendly language, perfect for creating content that's both beautiful and functional. I hope this guide has inspired you to explore the full range of possibilities with Markdown. Happy writing!