An open API service indexing awesome lists of open source software.

https://github.com/easywebapp/markcell

General MDX to TSX converter
https://github.com/easywebapp/markcell

converter gatsby generator hexo markdown react typescript web-cell

Last synced: 4 days ago
JSON representation

General MDX to TSX converter

Awesome Lists containing this project

README

          

# MarkCell

General [MDX][1] to [TSX][2]/HTML converter, inspired by [Hexo][3] & [Gatsby][4]

[![NPM Dependency](https://david-dm.org/EasyWebApp/MarkCell.svg)][5]
[![CI & CD](https://github.com/EasyWebApp/MarkCell/workflows/CI%20&%20CD/badge.svg)][6]

[![NPM](https://nodei.co/npm/mark-cell.png?downloads=true&downloadRank=true&stars=true)][7]

## Usage

### build SPA with MDX

https://github.com/EasyWebApp/BootCell-document

### build MPA with MD

https://github.com/EasyWebApp/mark-wiki

## Command-line interface

Usage: mark-cell [path] [options]

Options:
-V, --version output the version number
-p, --package NPM package name of the Component Engine
-f, --factory Function name of JSX factory
-F, --fragment Function name of JSX Fragment component
-l, --layout Path of Layouts module
-s, --pageSize Pagination size of Group pages
-h, --help display help for command

[1]: https://mdxjs.com/
[2]: https://www.typescriptlang.org/docs/handbook/jsx.html
[3]: https://hexo.io/
[4]: https://gatsbyjs.org/
[5]: https://david-dm.org/EasyWebApp/MarkCell
[6]: https://github.com/EasyWebApp/MarkCell/actions
[7]: https://nodei.co/npm/mark-cell/