Skip to content

Releases: DeDiamondPro/MineMark

MineMark 1.2.3

11 Aug 13:21
Compare
Choose a tag to compare
  • Massively improve how whitespaces are handled, this should fix a lot of issues
  • Fix newlines not being replaced with spaces.
  • Fixed text in <pre> tags not wrapping, this is needed to adhere to the maxWidth and since MineMark does not provide any sideways scrolling implementation
  • Fixed possible issue that if markdown contains the <minemark> tag it would cause the markdown rendering to reset, or maybe even cause a crash
  • Fixed Minecraft rendering implementation defining MineMark as a dependency instead of minemark, fixed that is said compile instead of runtime, and fixed the core version not being included in the pom

MineMark 1.2.2

21 Jul 18:50
Compare
Choose a tag to compare
  • Fixed tabs before HTML elements causing extra padding between paragraphs
  • @Internal usages to @OverrideOnly this is far better for IDE feedback by @ThatGravyBoat
  • Adds a complete method to Element when the element has been fully parsed by @ThatGravyBoat
  • Adds a remove method to LayoutStyle for StyleTypes by @ThatGravyBoat
  • Add getters for style, qName and attributes to Element
  • Add support for using Reader in the Elementa and Minecraft implementation.

MineMark 1.2.1

30 Jun 19:16
Compare
Choose a tag to compare

Add support for custom styles in LayoutStyle

MineMark 1.2.0

30 Jun 18:25
Compare
Choose a tag to compare
  • SingleTagMultiElement has been removed since it was causing some issues, it has been replaced with a better and stricter alternative
  • FormattingElement has now been added, this is a special type of element that can only update the LayoutStyle. One HTML tag can have multiple formatting elements.

This changes how you should structure your custom elements:

  • A normal element should be used when something has to be drawn or you have to interact with the layout of the markdown.
  • A formatting element should be used if you have to change the style, for example for if you have to update text color, size, .... Keep in mind a formatting element cannot draw anything.
  • Keep in mind that while you can have multiple formatting elements per HTML tag, you can now only have one normal element per HTML tag

MineMark 1.1.0

01 Jun 18:03
Compare
Choose a tag to compare
  • ElementLoader has been renamed to ElementCreator and a function has been added to it where you can say if the element is applicable to given variables, this allows for more flexibility (for example when creating an element when the div tag has an example attribute)
  • Add support for the style attribute, allowing for usage of a subset of inline css. List of currently supported css elements:
    • color
    • text-align
    • text-decoration
    • font-size
  • Made the list element more lenient, if there is no containing ol or ul tag, it will now no longer throw an error and instead default to an unordered list
  • Multiple elements can now be applied to a single HTML tag, this follows insertion order in the builder
  • Functions have been added to insert an element at a specific point in the list of elements inside the builder

MineMark 1.0.2

10 Feb 16:06
Compare
Choose a tag to compare
  • Added a raw Minecraft rendering implementation
  • Added a close method to markdown elements to cleanup elements if needed
  • Added the ability to get all line positions after an layout has been created

1.0.1

01 Feb 17:24
Compare
Choose a tag to compare

MineMark 1.0.1

Allow specifying of a charset, this is useful when using unicode characters. The default charset MineMark will use is UTF-8

MineMark 1.0.0

11 Jan 16:23
Compare
Choose a tag to compare

The very first release of MineMark, for more info please see the readme.