Skip to content

Commit

Permalink
fix markdown issue with error and success blockquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier197 committed Apr 30, 2022
1 parent aaeb2ea commit 3e3aac6
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "magidoc",
"version": "0.13.0",
"version": "0.13.1",
"description": "MagiDoc is a documentation website generator for GraphQL based on Svelte and that allows for infinite customization through plugins.",
"repository": "git@github.com:pelletier197/magidocql.git",
"author": "Sunny Pelletier",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/cli",
"description": "Magidoc CLI application responsible for generating GraphQL documentation websites.",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand All @@ -24,9 +24,9 @@
"release": "pnpm publish --no-git-checks --access public"
},
"dependencies": {
"@magidoc/plugin-starter-variables": "workspace:^0.13.0",
"@magidoc/rollup-plugin-fetch-gql-schema": "workspace:^0.13.0",
"@magidoc/rollup-plugin-parse-gql-schema": "workspace:^0.13.0",
"@magidoc/plugin-starter-variables": "workspace:^0.13.1",
"@magidoc/rollup-plugin-fetch-gql-schema": "workspace:^0.13.1",
"@magidoc/rollup-plugin-parse-gql-schema": "workspace:^0.13.1",
"axios": "^0.27.2",
"chalk": "^5.0.1",
"commander": "^9.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magidoc/docs",
"version": "0.13.0",
"version": "0.13.1",
"license": "MIT",
"type": "module",
"keywords": [
Expand All @@ -17,8 +17,8 @@
"release": "gh-pages --dist build --dotfiles true"
},
"devDependencies": {
"@magidoc/plugin-svelte-carbon-commons": "workspace:^0.13.0",
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.0",
"@magidoc/plugin-svelte-carbon-commons": "workspace:^0.13.1",
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.1",
"@sveltejs/adapter-static": "^1.0.0-next.29",
"@sveltejs/kit": "^1.0.0-next.324",
"carbon-components-svelte": "^0.63.4",
Expand Down
4 changes: 3 additions & 1 deletion packages/examples/fauna/magidoc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export default {
content: markdown`
# ⚠️ Blockquotes
Your can show error, warning and info blockquotes.
Your can show error, warning, info and success blockquotes.
> Success: Good job!
> Info: You like info? There you go. **They support inner markdown**!
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/query-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/plugin-query-generator",
"description": "A browser and nodeJS compatible plugin that allows to generate GraphQL Queries and Variables",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/reverse-schema-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/plugin-reverse-schema-mapper",
"description": "A library that provides the ability to do a reverse lookup on GraphQL types.",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rollup-fetch-gql-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/rollup-plugin-fetch-gql-schema",
"description": "A Rollup and ViteJS plugin that allows to fetch a GraphQL Schema from a target URL and save it to a target output folder.",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rollup-parse-gql-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/rollup-plugin-parse-gql-schema",
"description": "A Rollup and ViteJS plugin that allows to fetch a GraphQL Schema from a target URL and save it to a target output folder.",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/starter-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@magidoc/plugin-starter-variables",
"description": "A shared library that contains common Magidoc starter environment variables keys.",
"private": false,
"version": "0.13.0",
"version": "0.13.1",
"type": "module",
"license": "MIT",
"main": "./build/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/svelte-carbon-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A component library shared between Carbon templates.",
"type": "module",
"license": "MIT",
"version": "0.13.0",
"version": "0.13.1",
"svelte": "index.js",
"private": false,
"keywords": [
Expand All @@ -22,7 +22,7 @@
"release": "cd package && pnpm publish --no-git-checks --access public"
},
"devDependencies": {
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.0",
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.1",
"@sveltejs/adapter-auto": "^1.0.0-next.40",
"@sveltejs/kit": "^1.0.0-next.324",
"@types/prismjs": "^1.26.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
}
function getText(text: string): string {
return text.replace(info, '').replace(warning, '')
return text
.replace(info, '')
.replace(warning, '')
.replace(error, '')
.replace(success, '')
}
$: cleanText = getText(text)
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/svelte-prismjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A Svelte component library providing an easy to use component to display PrismJS code blocks",
"type": "module",
"license": "MIT",
"version": "0.13.0",
"version": "0.13.1",
"svelte": "index.js",
"private": false,
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions packages/starters/carbon-multi-page/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magidoc/starter-carbon-multi-page",
"version": "0.13.0",
"version": "0.13.1",
"license": "MIT",
"type": "module",
"keywords": [
Expand All @@ -19,15 +19,15 @@
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
},
"dependencies": {
"@magidoc/plugin-query-generator": "workspace:^0.13.0",
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.0",
"@magidoc/plugin-query-generator": "workspace:^0.13.1",
"@magidoc/plugin-svelte-prismjs": "workspace:^0.13.1",
"graphql": "^16.4.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@magidoc/plugin-starter-variables": "workspace:^0.13.0",
"@magidoc/plugin-svelte-carbon-commons": "workspace:^0.13.0",
"@magidoc/rollup-plugin-fetch-gql-schema": "workspace:^0.13.0",
"@magidoc/plugin-starter-variables": "workspace:^0.13.1",
"@magidoc/plugin-svelte-carbon-commons": "workspace:^0.13.1",
"@magidoc/rollup-plugin-fetch-gql-schema": "workspace:^0.13.1",
"@sveltejs/adapter-static": "^1.0.0-next.29",
"@sveltejs/kit": "^1.0.0-next.324",
"@types/lodash": "^4.14.182",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e3aac6

Please sign in to comment.