Skip to content

Added Shortcode to write sass inside components#15

Open
deepakg202 wants to merge 1 commit intomaxboeck:masterfrom
deepakg202:append-shortcodes
Open

Added Shortcode to write sass inside components#15
deepakg202 wants to merge 1 commit intomaxboeck:masterfrom
deepakg202:append-shortcodes

Conversation

@deepakg202
Copy link

Similar to https://github.com/gregives/Twelvety, I have added a shortcode to write sass directly inside a component.

Usage:

{% styles %}
// SASS Code Here
{% endstyles %}

And another shortcode to append to any html element

{% append "#sample" %}
World
{% endappend %}

<div id="sample">Hello </div>

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.

1 participant