Parsoid, a bidirectional parser between wikitext and HTML5. https://www.mediawiki.org/wiki/Parsoid

Clone this repo:
  1. da2bb29 build: Updating npm dependencies by libraryupgrader · 3 days ago master
  2. 708bb9c Handle comments and IEW on indicator paragraph unwrapping by Isabelle Hurbain-Palatin · 5 days ago v0.20.0-a2
  3. fba8952 Allow callers to pass in linterOverrides by Arlo Breault · 5 days ago
  4. ff7d04f Note in findLints that ext content is assumed to root in a single node by Arlo Breault · 6 days ago
  5. 9948069 Remove the ability of lints to skip nodes by Arlo Breault · 10 days ago

Parsoid

Parsoid is a bidirectional parser between wikitext and HTML5.

It was originally written in JavaScript running on Node.js but was ported to PHP.

Please see the overview of the project for more information.

License

Copyright (c) 2011-2023 Wikimedia Foundation and others.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.