Skip to content

Commit 6d78e32

Browse files
committed
chore: update readme and small fix
1 parent 07655cd commit 6d78e32

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
[![npm](https://img.shields.io/npm/v/@acrodata/code-editor.svg)](https://www.npmjs.com/package/@acrodata/code-editor)
44
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/acrodata/code-editor/blob/main/LICENSE)
55

6-
CodeMirror6 wrapper for Angular
6+
<img src="https://github.com/acrodata/code-editor/assets/20625845/2a511ccf-bf6a-414b-9f0d-4aafe4a8079b" width="400" alt="codemirror+angular">
7+
8+
CodeMirror 6 wrapper for Angular
9+
10+
#### Quick links
11+
12+
[Documentation](https://acrodata.github.io/code-editor/) |
13+
[Playground](https://acrodata.github.io/code-editor/)
714

815
## Installation
916

projects/code-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@acrodata/code-editor",
33
"version": "0.2.0",
4-
"description": "CodeMirror6 wrapper for Angular",
4+
"description": "CodeMirror 6 wrapper for Angular",
55
"publishConfig": {
66
"access": "public"
77
},

projects/dev-app/src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class HomeComponent implements OnInit, AfterViewInit {
139139
}
140140

141141
getLangSample(lang: string) {
142-
fetch(`/assets/lang_samples/${lang}.txt`).then(async response => {
142+
fetch(`assets/lang_samples/${lang}.txt`).then(async response => {
143143
if (response.ok) {
144144
this.code = await response.text();
145145
} else {

0 commit comments

Comments
 (0)