https://github.com/shapelayer/gfm2polygon-statement
Converts GFM to Limited LaTeX Format for Codeforces Polygon Statement
https://github.com/shapelayer/gfm2polygon-statement
Last synced: 12 months ago
JSON representation
Converts GFM to Limited LaTeX Format for Codeforces Polygon Statement
- Host: GitHub
- URL: https://github.com/shapelayer/gfm2polygon-statement
- Owner: ShapeLayer
- License: other
- Created: 2024-07-10T03:03:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-18T02:33:57.000Z (over 1 year ago)
- Last Synced: 2025-02-14T22:45:25.138Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# gfm2polygon-statement
Converts GFM to Limited LaTeX Format for Codeforces Polygon Statement
## Getting Started
This project depends on [cmark-gfm](https://github.com/github/cmark-gfm), But no additional installation is required.
When running cmake, dependencies will downloaded automatically.
## How to use
Use stdio with pipelining
```sh
cat [input] | ./md2pst > [output]
```
Serve file name
```sh
./md2pst [input] > [output]
```
Get output to stdout
```sh
./md2pst [input]
```
## Handling Mathematical Expressions
Mathematical expression is not defined in `cmark-gfm`.
Cause this project neither changes GFM format nor adds specific syntax, using mathematical expression and `$` character needs caution.
For additional information about supporting mathematical expression in GFM, [read the discussion at cmark-gfm issue tracker](https://github.com/github/cmark-gfm/issues/6).