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

Suggestion #133, markup language for bots #246

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

CorePrime95
Copy link
Contributor

In response to #133 and similar requests, here I added simple parameters to change the text displayed by the chat bots.
This will allow the bot programmers more freedom to create even nicer bots.

The following commands are supported:

{font size="8" face="verdana" color="#AA0000"}A big red text{/font}
{mark}Marked{/mark}
{del}Deleted{/del}
{u}Underline{/u}
{i}Italic{/i}
{b}Bold{/b}
{sup}superscript{/sup}
{sub}subscript{/sub}

@CorePrime95 CorePrime95 closed this Nov 2, 2017
@CorePrime95
Copy link
Contributor Author

Working on more features

@CorePrime95 CorePrime95 reopened this Nov 2, 2017
@CorePrime95
Copy link
Contributor Author

I added a clickable command where the text is not send immediately, but placed in the inputfield of the chatbox so the user can modify values:
Item2_Offer(offercommand:commandoffered)

added parameters to allow text allignment:
{aligncenter} Center Aligned{/align}
{alignleft} Left aligned {/align}
{alignright} Right aligned {/align}

@rubbish0815
Copy link

Why you are not using this one? https://github.com/markdown-it/markdown-it

@tonyofbyteball
Copy link
Member

Could you please move offercommand into a separate PR? We definitely need it, not so sure about the rest.

I always prefer small focused updates as it is not easy to allocate time to something big.

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

Successfully merging this pull request may close these issues.

3 participants