Skip to content

unimarkup-rs v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Dec 16:59
d1448b1

Features

  • add cli -> config conversion (020b472)
  • add cli draft (590fa6f)
  • add macro From<UM_BLOCK> for UnimarkupType (af9200a)
  • backend: impl parse from IR for Heading (f7415d4)
  • backend: implement Render for HeadingBlock (2a7e20e)
  • backend: implement um_type parser in loader (989ac3d)
  • backend: implement write html to file (939efa3)
  • backend: include backend module in lib.rs (0a7cbe5)
  • backend: introduce loader - parser from IR (ee82615)
  • backend: introduce renderer (8e578db)
  • backend: load, parse & render ParagraphBlocks (4078463)
  • backend: prepare parsing of UMBlocks from IR (2bbf54d)
  • extend UmError with general error variant (4292c78)
  • frontend: introduce headings grammar (73f3978)
  • frontent: introduce paragraph grammar (036e5cc)
  • implement ParseFromIr for ParagraphBlock (995e1c6)
  • implement parsing of paragraphs (97b50c1)
  • implement pipeline for heading blocks (661ac31)
  • implement write_to_ir in parser_pest (5ffaac2)
  • introduce backend error variant of UmError (71f2f98)
  • introduce backend module (568a42c)
  • make UnimarkupType variants comparable (1586f18)

Bug Fixes

  • adapt cli and add matching config struct (48ca9c8)
  • add clean, rebuild and dot-unimarkup args (7dd26e0)
  • add features not enabled by default in clap (c2a3111)
  • add html-standalone flag (b85a859)
  • add ParseFromIr trait bound to UnimarkupBlock (799519c)
  • add template for unimarkup.rs (c61b097)
  • backend: handle fallback fields for heading (3e3b388)
  • change UmParse to only parse() (75695b0)
  • check text line per line to avoid different behavior on different OS (baf67f5)
  • distribute all options to general and outputs (1068440)
  • move to clap_derive (8781d77)
  • move to option<> for optional config fields (67d3c49)
  • parse multiple blank lines correctly (2e5588c)
  • prepare compile method (3f45a47)
  • remove multiple config output options (aac6726)
  • remove Option for flag arguments (7d98fb6)
  • return error when paragraph type not valid (4018ef5)
  • set config as mutable for frontend (b4f16b4)
  • set macro/var definition in UmBlockElements (1588b4d)
  • set output_formats as optional arguments (0abb076)
  • specify macro/variable definition as options (d2ff4b4)
  • type of ContentIrLine in AsIrLines fixed (e72ed38)

Testing

  • add cli test cases for all config fields (7d98fb6)
  • add frontend parsing tests for heading and paragraph (557cee1)
  • add nested multiline heading test (011923a)
  • add test for line number headings (2e5588c)
  • add test um files for parser testing (99a5a29)
  • backend: add basic test for backend::run() (8654ab7)
  • backend: add unit test for Heading rendering (85c6cc5)
  • backend: add unit test for Paragraph (fc74d54)
  • backend: check if html file is created (82bd344)
  • backend: replace hard-coded values with variables (da1881e)
  • backend: test render_html of ParagraphBlock (5b1154d)