The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Support transparent background color
2 years ago
- Support transparent background color by specifying `.backgroundColor(nil)`
Image sizing bug & custom image sizing
2 years ago
* Fixes bug when an image changes the size of the document
* It adds `ImageSizer` protocol to allow custom image sizing, such as scaling to fit the width of the document
Fix regression on custom fonts not retaining weight
2 years ago
Full fix for #10
Fix custom fonts
2 years ago
Fixes certain custom fonts, like Avenir-Roman and Avenir-Medium that would revert to the "base" font (e.g. Avenir-Book).
Fix Bold and Italic on custom fonts
3 years ago
Fix bold and italic on custom fonts. This required removing `NativeFontWeight` type since it only worked on system fonts. The removal of the type is theoretically a breaking changing, so bumping this up a major version number. However, bold functionality is available by using the `FontTraits` type (which works on system and custom fonts).
armv7 build error
3 years ago
This release fixes a build error for projects that include the armv7 architecture.
SwiftUI & iOS 14 bugs
3 years ago
### Changes
- Brought back the SwiftUI wrappers. Put in some workarounds to make them work as expected
- Fixed iOS/tvOS 14 bug where inline backgrounds -- such as those used by inline code spans -- didn't render.
Public release
3 years ago
### Changes
- Improved the document (which is still light, but probably enough to be useful)
- Remove `NativeMarkText` because the [iOS version can't be made to work](https://losingfight.com/blog/2020/08/22/uiviewrepresentable-doesnt-respect-intrinsiccontentsize-invalidation/)
- Tiny re-working on custom font specification to reduce boilerplate
Initial version
3 years ago
This is the first tagged release of NativeMarkKit!
### What's working
- `NativeMarkLabel`
- `StyleSheet`s
- All of the parsing and rendering for NativeMark
- `NativeMarkText` (aka SwiftUI) for macOS
- Dark mode
- Dynamic Type
### What needs work still
- `NativeMarkText` for UIKit doesn't size properly if the text wraps
- Documentation is exceedingly light
- `NativeMarkString`/`NativeMarkStorage`/NativeMarkLayoutManager`/`NativeMarkTextContainer` all work for how NativeMarkKit use them internally, but haven't been vetted to see how generally useful they are
- Dark Mode on Mojave is mostly, but not completely supported. Mojave is missing APIs to add custom colors that automatically change between dark mode/light mode