text formatter/viewer

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
ingsoc451
Citizen
Posts: 96
Joined: Sat Feb 06, 2016 9:42 pm
Location: Oceania

text formatter/viewer

Post by ingsoc451 » Tue Nov 12, 2019 1:07 pm

https://github.com/monolifed/love2d_textview
(eventually it will be merged into boxui)
(WIP)

I tried to make it a little easier to use:
- You can use markdown style linebreaks
- You can add your own commands without modifying the module
- You can justify text: center, right, left
Attachments
preview.png
preview.png (34.75 KiB) Viewed 611 times
Last edited by ingsoc451 on Fri Nov 15, 2019 7:20 pm, edited 1 time in total.
eom

User avatar
ingsoc451
Citizen
Posts: 96
Joined: Sat Feb 06, 2016 9:42 pm
Location: Oceania

Re: text formatter/viewer

Post by ingsoc451 » Thu Nov 14, 2019 3:24 pm

Note: Currently images are drawn above previous text/images
fixed in git

Justification affects the current and the following lines. It is best to use one at the start of a newline.
eom

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests