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

fix identification of source blocks #4

Open
jaredh159 opened this issue Mar 30, 2024 · 0 comments · May be fixed by #18
Open

fix identification of source blocks #4

jaredh159 opened this issue Mar 30, 2024 · 0 comments · May be fixed by #18

Comments

@jaredh159
Copy link
Owner

we currently fail to recognize

[#hello,ruby]
----
require 'sinatra'
----

because i guess i misunderstood the identification of source blocks, i thought it needed to has some string value in the second position, based on this, but later examples show the #hello inference as well.

petersimonsson added a commit to petersimonsson/asciidork that referenced this issue Aug 30, 2024
Handle that the first attribute for a source block can be an ID.

Fixes jaredh159#4
@petersimonsson petersimonsson linked a pull request Aug 30, 2024 that will close this issue
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 a pull request may close this issue.

1 participant