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

[Feature] Allow for parameters in tags #3

Open
Denoder opened this issue Aug 13, 2016 · 2 comments
Open

[Feature] Allow for parameters in tags #3

Denoder opened this issue Aug 13, 2016 · 2 comments

Comments

@Denoder
Copy link

Denoder commented Aug 13, 2016

Would it be possible to be able to do custom parameters within the markups?

@mossadal
Copy link
Owner

Any suggestion for syntax? Could you give me an example of what you'd like to do?

@Denoder
Copy link
Author

Denoder commented Aug 15, 2016

for instance let's say:
I make a quote markup | [quote][/quote]

<div class="quote">
<div class="quote-header"></div>
<div class="quote-content"></div>
</div>

This would quote the text, that's how i have it set up currently

now lets say I use | [quote=$1,$2][/quote]

<div class="quote">
<div class="quote-header">$1 $2</div>
<div class="quote-content"></div>
</div>

Basically the parameters you put for the tag quote would output in the markup.

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