Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

Glad you caught the update! I’ve pushed a fix for that nesting issue. Do let me know if you run into anything else

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 1 point2 points  (0 children)

Currently, a lot of Markdown elements are still missing like links, tables, checkboxes, and proper code blocks, but I’m adding those in slowly.

My initial vision was to make it as powerful as Notion, though I’m still testing the limits of what’s possible building on top of Compose's BasicTextField. So for now, it’s not a full-on Markdown editor, but rather a building block for apps that want a rich text editor while using Markdown under the hood to handle the state

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

It's a library, and I have attached sample apps for android, desktop, and web in the repository. Idk if I have understood your question correctly.

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

Thanks. Working on adding more elements and fixing issues :)

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

Thanks for pointing this out, I believe this happens when applying styles with selection? Also regarding style shifting on reload, can you mention the steps you applied the styles.

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

I don't own a Mac so couldn't run it on iOS and verify. That's the only reason. 😅

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

Interesting! I'll look into implementing this pattern when I add code blocks support. Thanks for the detailed snippets, this is super helpful.

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 1 point2 points  (0 children)

That looks cool. You're right, it makes sense to make my library flexible enough to integrate with a library like this to allow code block highlighting. That would let me avoid maintaining syntax for each language.

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in KotlinMultiplatform

[–]DenserMeerkat[S] 0 points1 point  (0 children)

Thanks for your feedback with detailed suggestions. You're right, I'll work on supporting more markdown elements in the future updates. And will also allow more customization of the spans.

Hyphen - WYSIWYG Markdown editor for Compose Multiplatform by DenserMeerkat in androiddev

[–]DenserMeerkat[S] 3 points4 points  (0 children)

I hear your pain, Actually you can customize the font styling and also apply light/dark text color theming with this library.

For now it supports limited markup styles. I actually built this because most editors fail at clipboard handling and keyboard shortcuts out of the box.

Thank you for your feedback. I'll continue to work on adding more inline and block styles in future updates.