summaryrefslogtreecommitdiff
path: root/pages/view.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-07 13:26:48 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-07 13:26:48 +0200
commit872be7c3631895d951e1991b0bcbd4d164941dab (patch)
treea4616b67edf37b63d1a540d5ec6872b9adc7f5b1 /pages/view.tsx
parent4e86b7ef1eb69354a80bd93f2063ac1643236b80 (diff)
chore: remove test files
Diffstat (limited to 'pages/view.tsx')
-rw-r--r--pages/view.tsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/pages/view.tsx b/pages/view.tsx
deleted file mode 100644
index da28109..0000000
--- a/pages/view.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import unified from 'unified';
-import parse from 'uniorg-parse';
-import uniorg2rehype from 'uniorg-rehype';
-import rehypeStringify from 'rehype-stringify';
-import React from 'react';
-
-export interface ViewPageProps {
-
-}
-export default function ViewPage(props: ViewPageProps) {
-
- const processor = unified().use(parse)
- .use(uniorg2rehype)
- .use(rehypeStringify);
-
- processor
- .process(`* org-mode example\n your text goes here`)
- .then((file) => console.log(file.contents));
-
- return (
- <div>
- </div>
- )
-}