nicoulaj / idea-markdown

Markdown language support for IntelliJ IDEA (abandonned).
Apache License 2.0
600 stars 97 forks source link

The code quotes don`t rendered correct in the preview #238

Closed markusguenther closed 8 years ago

markusguenther commented 9 years ago

Thanks for your markdown plugin. I really like markdown and used separate markdown apps before your plugin.

I maybe found a little issue with code quotes.

The following code does not work in a right way. The preview shows the quotes and has not the whole code marked as code quote.

# used in the single view template to render the news content
lib.mainContent < styles.content.col0

lib.pageTemplate {
    variables {
        CONTENT = COA
        CONTENT {
            # load the plugin instead of any page template content on news pages
            10 = COA
            10 {
                10 < tt_content.list.20.sgnews_singleview
                if.value.field = doktype
                if.equals = 116
            }

            # load the overview plugin on category pages
            20 = COA
            20 {
                10 < tt_content.list.20.sgnews_overview
                if.value.field = doktype
                if.equals = 117
            }
        }
    }
}

bildschirmfoto 2015-07-29 um 10 14 15

ShyykoSerhiy commented 9 years ago

It seams that it works just like expected issue

used in the single view template to render the news content

lib.mainContent < styles.content.col0

lib.pageTemplate { variables { CONTENT = COA CONTENT {

load the plugin instead of any page template content on news pages

        10 = COA
        10 {
            10 < tt_content.list.20.sgnews_singleview
            if.value.field = doktype
            if.equals = 116
        }
        # load the overview plugin on category pages
        20 = COA
        20 {
            10 < tt_content.list.20.sgnews_overview
            if.value.field = doktype
            if.equals = 117
        }
    }
}

}

markusguenther commented 9 years ago

Hmm ok thats strange... do i set something in the preferences?

vsch commented 9 years ago

Turn on the Fenced code blocks in settings / Other Settings / Mardown. Fenced code blocks are an extension to Markdown, by default all extensions are turned off.