Skip to content

derhuerst/render-wikipedia-article

Repository files navigation

render-wikipedia-article

Render Wiki Markup articles from Wikipedia as HTML.

Warning: I don't intend to maintain this project. It was meant as an experiment to render Wikitext to HTML. This is harder than you might think:

I settled with the solution to fetch the mobile HTML directly.

No Maintenance Intended npm version build status ISC-licensed chat on gitter

Installing

npm install derhuerst/render-wikipedia-article

Usage

const render = require('render-wikipedia-article')

render(someWikitext)
.then((html) => {
	console.log(html)
})
.catch(console.error)

Contributing

If you have a question or have difficulties using render-wikipedia-article, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

About

[unmaintained] Render Wiki Markup articles from Wikipedia as HTML.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published