refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 371 forks source link

Support code blocks; Fixes #122 #136

Closed jerone closed 9 years ago

jerone commented 9 years ago

Fixes #122

Added support for code blocks when multiple lines are selected. Otherwise revert back to normal code.

toopay commented 9 years ago

Awesome. Thanks.

jerone commented 9 years ago

Wow, that's fast. Thanks! Any ETA for a new update on npm?

toopay commented 9 years ago

@jerone I must ensure all opened bug ticket resolved first, and may add some known enchanment suggestions. Less than a week i hope.

jerone commented 9 years ago

@toopay commented on 7 dec. 2014 15:35 CET:

@jerone I must ensure all opened bug ticket resolved first, and may add some known enchanment suggestions. Less than a week i hope.

Thanks for the info. I've added the tracking upstream label on our end to monitor when released.

jakeslee commented 9 years ago

It doesn't work for me. A multiline code block shows in one line. 2014-12-08 15 05 01

    public static void printPool(){
        for (Integer integer : pool.values()) {
            System.out.print(integer + "|");
        }
        System.out.println();
    }

Update: Multiline code block works fine with marked.js. markdown.js seems not to support three apostrophes.

installero commented 9 years ago

Thank you jakeslee!