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

Implement {: data-line="1"} for setting block-level attributes #197

Open
kjk opened this issue Sep 15, 2021 · 3 comments
Open

Implement {: data-line="1"} for setting block-level attributes #197

kjk opened this issue Sep 15, 2021 · 3 comments

Comments

@kjk
Copy link
Contributor

kjk commented Sep 15, 2021

## foo
{: data-line="1"}

should generate:

<h2 data-line="1" id="foo">
  foo
</h2>

babelmark results

This is a kramdown extension. Probably should be an extension.

@miekg
Copy link
Collaborator

miekg commented Sep 15, 2021 via email

@miekg
Copy link
Collaborator

miekg commented Nov 5, 2021

This would be hacking on the Attributes I've added a while back, but now they are detected by { data-line="1"}

@miekg
Copy link
Collaborator

miekg commented Dec 11, 2021

also kramdown allows these after block level elements, haven't been able to do that here...

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