markdown2confluence icon indicating copy to clipboard operation
markdown2confluence copied to clipboard

Code blocks - language hint converted 2 code content

Open jbee opened this issue 12 years ago • 4 comments
trafficstars

Using a code block

```bash
# some bash script
```

is converted to

{code}bash
# some bash script
{code}

while it should become (according to atlassian docs)

{code:language=bash}
# some bash script
{code}

jbee avatar Apr 10 '13 12:04 jbee

@jbee happy to take a working pull request :)

jedi4ever avatar Apr 10 '13 13:04 jedi4ever

Would do it... if I wouldn't need to learn ruby first ;) I think you really don't want a patch written 99% guessing how stuff works in ruby.

jbee avatar Apr 10 '13 14:04 jbee

Here's a pull request for this: https://github.com/jedi4ever/markdown2confluence/pull/15

synthead avatar Feb 20 '16 01:02 synthead

@synthead So, is this issue closed? (Considering using this tool; proper code block support is essential for me.)

reitzig avatar Jan 19 '17 09:01 reitzig