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 inline html as parameters (multiline arguments) #11

Open
Jomy10 opened this issue Feb 16, 2022 · 2 comments
Open

Add support for inline html as parameters (multiline arguments) #11

Jomy10 opened this issue Feb 16, 2022 · 2 comments

Comments

@Jomy10
Copy link
Owner

Jomy10 commented Feb 16, 2022

Example implementation:

%content?body="
<h1>Hello world!</h1>
<p>Welcome to my homepage</p>
"%

content.html

<main>
  #body#
</main>

result

<main>
  <h1>Hello world!</h1>
  <p>Welcome to my homepage</p>
</main>
@Jomy10
Copy link
Owner Author

Jomy10 commented Feb 16, 2022

Linked to: #10

@Jomy10
Copy link
Owner Author

Jomy10 commented Mar 12, 2022

Added to proposal for 1.0 (see 1.0 branch) with <>

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

1 participant