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

table-style captions for code with codeBlockCaptions and labels #129

Closed
nim65s opened this issue Aug 31, 2017 · 2 comments
Closed

table-style captions for code with codeBlockCaptions and labels #129

nim65s opened this issue Aug 31, 2017 · 2 comments

Comments

@nim65s
Copy link

nim65s commented Aug 31, 2017

Hello :)

As documented in README.md, this works:

a   b   c
--- --- ---
1   2   3
4   5   6

: Caption {#tbl:label}

But when I enable codeBlockCaptions, the "table-style" doesn't allow to put the label at the same place, as in:

```haskell
main :: IO ()
main = putStrLn "Hello World!"
```

: Listing caption {#lst:code}

Wouldn't it be nice ? :)

@lierdakil
Copy link
Owner

Well, that proved to be easy, so there's an implementation in master. I will hold off on release though, there's still some things I'd like to do before that. You can build from master if you want.

@nim65s
Copy link
Author

nim65s commented Sep 7, 2017

Wow, perfect, thanks a a lot ! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants