Skip to content

0.0.3-alpha+math.1

Compare
Choose a tag to compare
@xNaCly xNaCly released this 02 May 13:27
· 28 commits to master since this release

This release introduces the --math option as well as multi file support.

Features

Multi file support

Fleck now accepts multiple files and compiles them in parallel, this should greatly increase performance for bigger markdown projects:

fleck README.md test.md
# 2023/05/02 15:24:15 info: compiled 'test.md', took: 4.9883ms
# 2023/05/02 15:24:15 info: compiled 'README.md', took: 4.8783ms

Latex math rendering

The --math flag instructs fleck to inject katex with an autoload script into the resulting html. This enables rendering of mathematical expressions typeset with latex.

fleck --math --syntax test.md

Inline and block math in the resulting html:

image

fleck --version
# fleck: [ver='bare:0.0.3-alpha+math.1'][buildAt='2023-05-02T15:04:07.643722'][buildBy='[email protected]']

Changes

compare changes

Enhancements

  • Add multi file support (ea59852)
  • cli: Add '--math' option (3c7761b)
  • scanner: Add '$' (DOLLAR) token to lexing (c3a011b)
  • parser: Math inline and block parsing (173bab8)
  • generator: Add katex injection script (cb97080)

Fixes

  • Bug with preprocessor and files with multiple dots (9752aac)

Build

  • Started working on python release system (631b56d)
  • Added bare build, better logs (5c6dec9)
  • Replaced Makefile with python script for release (0583125)
  • Fix build step feature in filename (64469ef)
  • Add .exe to windows executables (88761a1)

Chore

  • Bump-> 0.0.3-alpha+math.1 (c0fc37f)

Tests

  • scanner: Add '$' DOLLAR to lexing tests (c386d45)