Bug 498912 - Markdown preview does not render code blocks if 3 back-ticks are used
Summary: Markdown preview does not render code blocks if 3 back-ticks are used
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.20   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-07-30 11:02 EDT by Michael Giroux CLA
Modified: 2016-08-04 16:26 EDT (History)
1 user (show)

See Also:


Attachments
markdown preview screenshot (10.51 KB, image/tiff)
2016-07-30 11:02 EDT, Michael Giroux CLA
no flags Details
Plugin Selection Spy details for editor (655.37 KB, image/tiff)
2016-08-04 16:25 EDT, Michael Giroux CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Giroux CLA 2016-07-30 11:02:35 EDT
Created attachment 263388 [details]
markdown preview screenshot

When editing a markdown file (myfile.md) you can enter a code block using two techniques.  You can indent all of the code by 4 spaces, or you can mark the code block with three back-ticks.

When the code is indented 4 spaces, the preview pane displays the code block correctly.
# Sample Code

      <entry>
        <nodes>
          <node>a</nodes>
        </nodes>
      </entry>

When the code is marked by 3 back-ticks, the preview pane does not render any of the xml tags, and displays one of the back-ticks:
# Sample code

```
<entry>
  <nodes>
    <node>a</nodes>
  </nodes>
</entry>
```
Comment 1 Dani Megert CLA 2016-08-03 10:09:53 EDT
We do not provide a markdown editor. Please press Alt+Shift+F1 when in the editor. This will tell you which plug-in provides that editor.
Comment 2 Michael Giroux CLA 2016-08-04 15:47:55 EDT
plugin spy reports: 
org.eclipse.mylyn.wikitext.ui (2.9.0.v20160516-1547)
Comment 3 Michael Giroux CLA 2016-08-04 16:25:23 EDT
Created attachment 263464 [details]
Plugin Selection Spy details for editor
Comment 4 Michael Giroux CLA 2016-08-04 16:26:55 EDT
(In reply to Dani Megert from comment #1)
> We do not provide a markdown editor. Please press Alt+Shift+F1 when in the
> editor. This will tell you which plug-in provides that editor.

For Mac OS X version of Eclipse,  Option+Fn+Shift+F1
Comment 5 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn