commit 63b4ad8259ae2c8d5b48fe1b390235ab456cc72f Author: pedrocx486 Date: Thu Dec 29 02:32:24 2022 -0300 Push all to new repo diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100755 index 0000000..a7cea0b --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f18561d --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) {{ year }}, {{ author }} + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100755 index 0000000..213aafc --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Showdown Canvas, written in Vue 3 + TypeScript + Vite + +An markdown editor for ngx-dumblog/retroblog. + +## Caveats + +Currently able to only create posts, it cannot edit the archive.json, so you have to edit it manually. + +## Recommended IDE Setup + +- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) diff --git a/index.html b/index.html new file mode 100755 index 0000000..3c191d2 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + ngx-retroblog editor + + +
+ + + diff --git a/package.json b/package.json new file mode 100755 index 0000000..3adfd70 --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "showdown-canvas", + "private": true, + "version": "0.0.0", + "scripts": { + "dev": "vite", + "build": "vue-tsc --noEmit && vite build", + "build:subfolder": "vue-tsc --noEmit && vite build --base=\"./\"", + "preview": "vite preview" + }, + "dependencies": { + "vue": "^3.2.25", + "vue-showdown": "^3.3.0" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^2.3.3", + "typescript": "^4.5.4", + "vite": "^2.9.9", + "vue-tsc": "^0.34.7" + } +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100755 index 0000000..41e130d Binary files /dev/null and b/public/favicon.ico differ diff --git a/src/App.vue b/src/App.vue new file mode 100755 index 0000000..ebf99dc --- /dev/null +++ b/src/App.vue @@ -0,0 +1,208 @@ + + +