Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyoo-ru/marked.hyoo.ru
MarkedText - simpliest usefull lightweight markup language, better alternative to MarkDown
https://github.com/hyoo-ru/marked.hyoo.ru
mam mol
Last synced: about 1 month ago
JSON representation
MarkedText - simpliest usefull lightweight markup language, better alternative to MarkDown
- Host: GitHub
- URL: https://github.com/hyoo-ru/marked.hyoo.ru
- Owner: hyoo-ru
- License: mit
- Created: 2021-01-08T04:06:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T06:43:45.000Z (8 months ago)
- Last Synced: 2024-06-05T04:43:59.091Z (7 months ago)
- Topics: mam, mol
- Language: TypeScript
- Homepage: https://marked.hyoo.ru
- Size: 13.1 MB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
```
= MarkedTextText format with **lightweight consistent formatting**
""Logo\https://marked.hyoo.ru/hyoo/marked/logo/logo.svg""
--
== Principles
+ Syntax:
- Unambiguity
- Simplicity
- Uniformity
+ Look:
- Minimal impact on the natural appearance of the text
- Clarity of formatting and naturalness of metaphors
+ Editing:
- Independence from the keyboard layout
- Fast and reliable memorability== Comparison
! **Language**
! **Pros**
! **Cons**
! MarkedText
! - Convenient editing of tables.
! - Support for complex formatting inside cells.
! - Ease of implementation.
! - Easy-to-remember consistent syntax.
! - Ease of editing in a non-English keyboard layout.
! - The columns do not spread far to the right for horizontal scrolling and are not transferred to a new line.
! - There is no broad support by third-party tools.
! MarkDown
! - Extensive support with various tools.
! - A human-readable representation of simple tables.
! - Difficulties with editing tables.
! - Highly restricted cell contents.== Parsing
const res = [ ... $hyoo_marked_line.parse( '**text**' ) ]
-- $mol_assert_equal( res[0].strong, '**text**' )
++ $mol_assert_equal( res[0].marker, '**' )
** $mol_assert_equal( res[0].content, 'text' )== Comments
" " " //Typical user//: Isn't supported anywhere, go to --ass-- ++assassins++ with this syntax!
" "
" " But we are **programmers**, we can //fix// it.. You don't even need to be an expert on ;;C++;; to do this ..
"
" No one needs it (c) //Sofa Expert//Nevertheless, it is a useful exercise in design.
== Links
- \\Article about MarkedText\https://page.hyoo.ru/#!=6lqg5m_deygy0\\
- TypeScript API: \\https://github.com/hyoo-ru/marked.hyoo.ru/\\== Spoilers
? It's **title** of spoiler
? And this is the spoiler content
? " The //content// supports ++any++ markup== Online sandbox
""https://marked.hyoo.ru/""
```