-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b4c94d
commit 3397824
Showing
5 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
// Note: this rule must appear *after* use(gfm) so it can override | ||
// turndown-plugin-gfm rule for strikethrough (which always uses single '~') | ||
export const underlineRule = { | ||
filter: ['u'], | ||
replacement: (content: any) => { | ||
return `<u>${content}</u>` | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export4.dtd"> | ||
<en-export export-date="20231017T104418Z" application="Evernote" version="10.61.10"> | ||
<note> | ||
<title>text styles</title> | ||
<created>20230917T104146Z</created> | ||
<updated>20230917T104412Z</updated> | ||
<note-attributes> | ||
<author>akos</author> | ||
</note-attributes> | ||
<content> | ||
<![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"><en-note><div><u>This is an underline text</u></div><div><b>This is a bold text</b></div><div><i>This is an italic text</i></div><div><span style="--en-highlight:yellow;background-color: #ffef9e;">This is a highlighted text</span></div></en-note> ]]> | ||
</content> | ||
</note> | ||
</en-export> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# text styles | ||
|
||
<u>This is an underline text</u> | ||
**This is a bold text** | ||
_This is an italic text_ | ||
`This is a highlighted text` | ||
|
||
Created at: 2023-09-17T11:41:46+01:00 | ||
Updated at: 2023-09-17T11:44:12+01:00 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters