Skip to content

denpojs/denpo-entities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

denpo-entities

Markdown to telegram entities parser

Usage

let dent = require('denpo-entities')
let assert = require('assert').strict

assert.deepEqual(dent('*md text*'), {
	entities: [
		{
			type: 'bold',
			length: 7,
			offset: 0
		}
	],
	text: 'md text'
})

Supported markdown style

About

Telegram entities parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published