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
Closed

Add support for displaying images in the text #4

britzl opened this issue Feb 27, 2018 · 4 comments

Comments

@britzl
Copy link
Owner

britzl commented Feb 27, 2018

Box nodes. Perhaps using <img> tag?

@subsoap
Copy link
Contributor

subsoap commented Feb 27, 2018

How would it work?

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

@britzl
Copy link
Owner Author

britzl 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
Copy link
Contributor

subsoap 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
Copy link
Owner Author

britzl commented Feb 28, 2018

@britzl britzl closed this as completed Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants