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

Pass html attr using code block attr #571

Merged
merged 6 commits into from Feb 25, 2022

Conversation

kaushalmodi
Copy link
Owner

@kaushalmodi kaushalmodi commented Feb 25, 2022

If #+attr_html: is used above src blocks to specify the HTML attributes for that block, pass those to the code block within the curly braces for attributes.

Before:

<div <HTML_ATTR>>

```LANG
CODE
```

</div>

Now:

```LANG { <HTML_ATTR> }
CODE
```

@kaushalmodi kaushalmodi merged commit e324594 into main Feb 25, 2022
@kaushalmodi kaushalmodi deleted the pass-html-attr-using-code-block-attr branch February 25, 2022 03:56
kaushalmodi added a commit that referenced this pull request Feb 25, 2022
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.

None yet

1 participant