fix: 🐛 Fix md pages not rendering correctly
This commit is contained in:
parent
80673d1218
commit
8d37c90106
2
plugin
2
plugin
@ -1 +1 @@
|
|||||||
Subproject commit 3893a63831dd1be9b118e4f7e6a7af3e82d7870a
|
Subproject commit b04f948e199bbc418f7d44620ec7507ef2ca3795
|
@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let html: string;
|
// @ts-expect-error - Markdown files are not recognized by Vite
|
||||||
|
import { html } from '/CHANGELOG.md';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="md:py-8 prose prose-md max-w-3xl dark:prose-invert">
|
<div class="md:py-8 prose prose-md max-w-3xl dark:prose-invert">
|
||||||
|
@ -1,8 +1 @@
|
|||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
|
|
||||||
// @ts-expect-error - Markdown files are not recognized by Vite
|
|
||||||
import { html } from '/CHANGELOG.md';
|
|
||||||
|
|
||||||
export function load() {
|
|
||||||
return { html };
|
|
||||||
}
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
## Operational Expenses
|
## Operational Expenses
|
||||||
|
|
||||||
I architected the serverside code to be as light and portable as possible. Currently, it runs on a VPS I rent for about **7$/month**. This is currently the only operational expense for Noteshare.space.
|
I architected the serverside code to be as light and portable as possible. Currently, it runs on a VPS I rent for about **7$/month**. This is currently the only operational expense for Noteshare.space.
|
||||||
|
|
||||||
The storage requirements for hosting encrypted text data are incredible small; at the time of writing (28 September, 2022), Noteshare is storing **700 notes in a little over 4MB**.
|
The storage requirements for hosting encrypted text data are incredible small; at the time of writing (28 September, 2022), Noteshare is storing **1,000 notes in a little over 7MB**.
|
||||||
|
|
||||||
### Future expenses: hosting file attachments
|
### Future expenses: hosting file attachments
|
||||||
|
|
||||||
@ -16,10 +16,10 @@ As I develop this feature, I am still deciding on how I will fund this: communit
|
|||||||
|
|
||||||
I already rented this VPS for other purposes, so I haven no problem paying out of pocket for hosting and you can expect the service to be available
|
I already rented this VPS for other purposes, so I haven no problem paying out of pocket for hosting and you can expect the service to be available
|
||||||
|
|
||||||
If you wish to financially support me and the development of this plugin and service, you can send donations via my [*Buy me a coffee*-profile](https://www.buymeacoffee.com/mcndt).
|
If you wish to financially support me and the development of this plugin and service, you can send donations via my [_Buy me a coffee_-profile](https://www.buymeacoffee.com/mcndt).
|
||||||
|
|
||||||
## Self-hosting
|
## Self-hosting
|
||||||
|
|
||||||
If you are still worried about relying on me for keeping Noteshare up and running, it is an option to host your own instance of Noteshare. You can find the source code, as well as a `docker-compose.yml` file to get you up and running on the [Noteshare GitHub repo](https://github.com/mcndt/Noteshare.space).
|
If you are still worried about relying on me for keeping Noteshare up and running, it is an option to host your own instance of Noteshare. You can find the source code, as well as a `docker-compose.yml` file to get you up and running on the [Noteshare GitHub repo](https://github.com/mcndt/Noteshare.space).
|
||||||
|
|
||||||
*Last updated: 2022-09-28*
|
_Last updated: 2022-09-28_
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let html: string;
|
// @ts-expect-error - Markdown files are not recognized by Svelte
|
||||||
|
import { html } from '../funding.md';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="md:py-8 prose prose-md max-w-3xl dark:prose-invert">
|
<div class="md:py-8 prose prose-md max-w-3xl dark:prose-invert">
|
||||||
|
@ -1,8 +1 @@
|
|||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
|
|
||||||
// @ts-expect-error - Markdown files are not recognized by Svelte
|
|
||||||
import { html } from '../funding.md';
|
|
||||||
|
|
||||||
export function load() {
|
|
||||||
return { html };
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user