Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for displaying images in the text #4

Closed
britzl opened this issue Feb 27, 2018 · 4 comments

Comments

@britzl
Copy link
Owner

commented Feb 27, 2018

Box nodes. Perhaps using <img> tag?

@subsoap

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2018

How would it work?

<img src="texture_name"></img>
<img>texture_name</img>
@britzl

This comment has been minimized.

Copy link
Owner Author

commented Feb 27, 2018

Or maybe <img="texture_name"></img> or <img=texture_name></img>

The system is not setup to parse <img>texture_name</img>. Parameters should be inside the tag, like in <size=2> and <color=red>

And maybe I need to add support for to immediately close a tag. It should be easy to parse.

@subsoap

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2018

Either
<img="texture_name"/>
Or have tags like img always not have a closing tag (cleaner)

I'd still add <br> for linebreaks if people want to use them over \n

@britzl

This comment has been minimized.

Copy link
Owner Author

commented Feb 28, 2018

@britzl britzl closed this Feb 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.