Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 0 additions & 216 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# HyperMD
# ProseMark

Coming soon...
2 changes: 1 addition & 1 deletion apps/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HyperMD Demo</title>
<title>ProseMark Demo</title>
</head>
<body>
<div id="app"></div>
Expand Down
4 changes: 2 additions & 2 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"vite": "^5.3.1"
},
"dependencies": {
"@hypermd/core": "workspace:*",
"@hypermd/render-html": "workspace:*"
"@prosemark/core": "workspace:*",
"@prosemark/render-html": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/demo/src/initDoc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HyperMD Demo Page
# ProseMark Demo Page

A _"What You See Is What You Mean"_ editor like **Typora** or **Obsidian**, built on top of [**CodeMirror 6**](https://codemirror.net/).

Expand Down
15 changes: 9 additions & 6 deletions apps/demo/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ import { basicSetup } from 'codemirror';
import { EditorView, keymap } from '@codemirror/view';
import { markdown } from '@codemirror/lang-markdown';
import { languages } from '@codemirror/language-data';
import { hypermdExtensions, hypermdMarkdownExtensions } from '@hypermd/core';
import * as HyperMD from '@hypermd/core';
import { htmlBlockExtension } from '@hypermd/render-html';
import {
prosemarkExtensions,
prosemarkMarkdownExtensions,
} from '@prosemark/core';
import * as ProseMark from '@prosemark/core';
import { htmlBlockExtension } from '@prosemark/render-html';
import { indentWithTab } from '@codemirror/commands';
import { GFM } from '@lezer/markdown';
import {
Expand All @@ -29,10 +32,10 @@ const editor = new EditorView({
basicSetup,
markdown({
codeLanguages: languages,
extensions: [GFM, hypermdMarkdownExtensions],
extensions: [GFM, prosemarkMarkdownExtensions],
}),
EditorView.lineWrapping,
hypermdExtensions,
prosemarkExtensions,
htmlBlockExtension,
syntaxHighlighting(defaultHighlightStyle),
keymap.of([
Expand All @@ -54,4 +57,4 @@ const editor = new EditorView({
});

// for easier debugging
Object.assign(window, { editor, HyperMD });
Object.assign(window, { editor, ProseMark });
Loading