Giter VIP home page Giter VIP logo

markdownviewerplusplus's Introduction

MarkdownViewerPlusPlus Build status GitHub license GitHub (pre-)release Donate

A Notepad++ Plugin to view a Markdown file rendered on-the-fly

Features

  • Dockable panel (toggle) with a rendered HTML of the currently selected file/tab
  • CommonMark compliant (0.28)
  • Synchronized scrolling
  • Custom CSS integration
  • HTML and PDF Export
  • Notepad++ Unicode Plugin

Latest Versions

  • 0.8.2
    • Merged a lot of bugfixes and improvements, thanks to monoblaine
    • Updated Markdig to v0.15.0, PDFSharp to v1.50.4845-RC2a and HTMLRenderer accordingly
    • Added a shortcut to Options and About to MarkdownViewerPanel
  • 0.8.1
    • Fixed a bug cutting off text after 10000 characters (#60)
    • Changed parsing of custom CSS to recognize @import statements and have them lead (#35)
  • 0.8.0

Download the latest release here. For a full version history go here.

Installation

Download a release version and copy the included MarkdownViewerPlusPlus.dll to the plugins sub-folder at your Notepad++ installation directory. The plugin adds a small Markdown icon Markdown icon to the toolbar to toggle the viewer as dockable panel.

Plugin Manager

If you have the Plugin Manager installed you can search for MarkdownViewer++ and install it via that plugin.

Compatibility

This plugin requires at least

  • Notepad++ 32-bit/64-bit
  • Windows
  • .NET Framework 4.0 or above

It has been tested under the following conditions

  • Notepad++ 7.5.6 32-bit and 64-bit
  • Windows 10 Professional (64-bit)

Usage

To open the MarkdownViewer++ you can

  • click the toolbar icon Markdown icon,
  • use the shortcut Ctrl+Shift+M
  • or open it via the Plugins sub-menu

To synchronize the scrolling between the Notepad++ editor view and the rendered markdown, you can enable the option via the Plugins sub-menu. The made selection will be stored and loaded in future sessions.

MarkdownViewer++

Options

The MarkdownViewer++ offers several options to customize your plugin experience. You can open the options dialog via the Plugins sub-menu.

MarkdownViewer++ Options

General

On the General tab you can configure the file extensions the MarkdownViewer++ renderer should actually display. If the box is empty all files will be rendered. If you want to limit the rendering to certain file extensions list them in the textbox as comma-separated list without leading dot.

For example, if you only want to render txt, log and md files just type in "txt,log,md".

Please note that only file extensions are compared and no certain mime types or anything. If a text document is not named XYZ.txt it will not be rendered.

HTML

On the HTML tab you can fill in Custom CSS, which is used when rendering the MarkdownViewer++ preview as well as the exported HTML. Therefore, you are able to e.g. change bullet-point-list icons or sizes of headlines. The custom CSS textbox is limited to 32767 characters.

PDF

On the PDF tab you can set the orientation and page size of the exported PDF. The content is provided by the PDFSharp enumerations.

Additionally, the margins for top, right, bottom and left can be set for the exported PDF file.

Highlighting

MarkdownViewer++ adds no markdown highlighting to Notepad++ itself. But you might find the user-defined syntax highlighting by Edditoria helpful.

License and Credits

The MarkdownViewerPlusPlus is released under the MIT license.

This Notepad++ plugin integrates the sources of multiple other libraries, because of issues with the library merging process. Credits and thanks to all the developers working on these great projects:

  • The plugin is based on the Notepad++ PluginPack.net by kbilsted provided under the Apache-2.0 license.
  • The renderer uses
  • The PDF Exporter uses
  • The SVG renderer uses SVG.NET by vvvv provided under the Microsoft Public License
  • The menu icons are by FontAwesome provided under the SIL OFL 1.1 license
  • The Markdown icon is by dcurtis provided under the CC0-1.0 license

Disclaimer

This source and the whole package comes without warranty. It may or may not harm your computer or cell phone. Please use with care. Any damage cannot be related back to the author. The source has been tested on a virtual environment and scanned for viruses and has passed all tests.

Personal Note

I don't know if this is very useful for a lot of people but I wanted something in private to quickly write and see some formatted Markdown documents. As I was not able to find something similar very quickly I created this project. I hope this proves useful to you... with all its Bugs and Issues ;) If you like it you can give me a shout at INsanityDesign or let me know via this repository.

markdownviewerplusplus's People

Contributors

dail8859 avatar monoblaine avatar nea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

markdownviewerplusplus's Issues

How to setup supported np++ version?

The release 64 bit dll is work on np++ 7.3.3, however, it doesn't work if I build from source. It comes up with a message that MarkdownViewerPlusPlus.dll is not compatible with the current version of Notepad++.

feature request: open local md file in n++ when clicking on preview link

As a local github-wiki page editor
I want to open a local md file when clicking a link in the preview
To make managing lokal wikies easier.

Example

in github i have these pages:

locally i have

  • ...\APhotoManager.wiki\Image-View.md
  • ...\APhotoManager.wiki\History.md

When Notepad++ has loaded History.md and when i click on \[Image-View](Image-View) in the preview
i would like to open Image-View.md in the npp editor if it exists

the missing ".md" from the link could come from "Plugins/MarkDownViewer++/Options/General/FileExtensions=md"

CSS color is not rendered

Hi,

I was trying to add some customized CSS, but it wasn't rendered well. I'm not sure if it's caused by the HTMLRenderer or in this plugin. The exported html can be rendered as expected in Chrome, IE, Firefox.

body {
    font-family: "Source Sans Pro",sans-serif;
    font-size: 13px;
    color: #3f3f3f
}
h1 {    font-size: 25px; }
h2 {    font-size: 23px; }
h3 {    font-size: 21px; }
h4 {    font-size: 19px; }
h5 {    font-size: 16px; }
h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
} 
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  padding-top: 5px;
  padding-bottom: 5px;
  quotes: "\201C""\201D""\2018""\2019";
}

code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 95%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    background: rgb(200,200,200);
    display: inline-block;
}
pre code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 95%;
    line-height: 140%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    background: #faf8f0;
    display: block;
    padding: 0.5em 1em;
    border: 1px solid #bebab0;
}

@import

While trying to work around #34, found that it was not possible to use @import to include an external
stylesheet (nor e.g. Google Fonts).

The @import statement must precede all other rules (except @charset rules). However a short comment and rule (... page-break-inside:avoid;) is placed before any custom CSS rules. The at-rule is therefore not processed.

I: SVG images are not rendered

Hi

Currently SVG images are not being rendered (compared to e.g. PNG images). This is because the used HTMLRenderer/.net does not support the rendering natively. Therefore, an extra event handler for SVG rendering should be added, for example via https://github.com/vvvv/SVG

Best

File extensions not working

Does not work as expected:

  • setting Options->General->File extensions -> log -> Save
  • opening a file.log with plugin active == message:
    Your configuration settings do not include the currently selected file extension.
    The rendered file extensions are 'log'.
    The current file is 'file.log'. False
  • clicking View-Refresh works

Problem with table display

The markdown display of tables doesn't seem to be recognized as expected.

Here is an example of the markdown and corresponding plugin output:
markdown-problem

And here the resulting (expected) output viewed online (bitbucket).
markdown-working

I'm using version 0.7 strait from the Notepad++ Plugin Manager.

New line with single CRLF

Hi,
I 've been using Atom to create and edit markdown files up to now. It also has a preview plugin, which has an option 'Break on single new line'.
But as I prefer using Notepad++ as an editor, I did some tests to edit and preview markdown files in it. Your plugin is exactly what is needed to preview, only it would be nice, if you could add the same option.

Regards,
Anne-Mie Wauters

Local image not displayed when export as HTML/PDF file

I notice that you have fixed the bug mentioned in Issue #23. I tryed to use ![png](file:///imagepath) to display my image, and in notepad++, the image displayed well. However, when I clicked the export button to convert markdown file to html, the image didn't appear in my browser, and the html code is
<img src="file:///./output_1_1.png" alt="png">.

problems displaying lists

Using bullet lists sometimes causes issues as displayed in the following image:

(1) Bullets are 1 line above the corresponding paragraph text (ie: some '\n' added before the text?)
(2) Random numbers appear in before indented paragraphs or indented paragraphs with bullet list.

image

Compiling error when merge to Unicode

Hi,

I have checkout the latest master and try to compile with VS2015 Update 3. I get the Unicode merge error below, do you have any idea what is the problem ?

1>------ Rebuild All started: Project: MarkdownViewerPlusPlus, Configuration: Debug Any CPU ------
1>  Transitive merge
1>  Merged assemblies: C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\MarkdownViewerPlusPlus\obj\Debug\MarkdownViewerPlusPlus.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\CommonMark.NET.0.15.1\lib\net40-client\CommonMark.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\HtmlRenderer.Core.1.5.1-beta1\lib\net40-client\HtmlRenderer.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\HtmlRenderer.PdfSharp.1.5.1-beta1\lib\net40-client\HtmlRenderer.PdfSharp.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\HtmlRenderer.WinForms.1.5.1-beta1\lib\net40-client\HtmlRenderer.WinForms.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.Charting.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.dll;C:\Users\JLim\Workspace\Development\NetSource\MarkdownViewerPlusPlus-master\packages\Svg.2.3.0\lib\net35\Svg.dll;
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

RTL support

Thanks for the plugin, it seems really great,
Just wanna offer to add rtl support, as you can see in the image below, on the right side is the raw text from NPP and on the left there's the markdown preview, the order of the words in the MD preview is in reverse and in LTR. The pdf export had some issues with rlt too.
capture

As for checking if NPP is currently in RTL or LTR Yaron from the forum showed me here a few days ago how to that.

unnecessary <p> tags inside list items if a list follows directly to another list

At first: Thank you for this great plugin. It's that thing I needed since I write everything in markdown and sometimes want to export HTML or PDFs.

But I discovered a bug. If I just write some list items without headlines or text between two or more lists the plugin creates p tags inside the list items. Also all list items from different lists are in one list.

system:
Win 7 64 bit, Notepad++ 7.3.3
MarkdownViewer++ 0.7.1

works like expected:

2017-03-22_113031

with p inside li:

2017-03-22_112915

HTML output:

    <ul>
      <li>
        <p>list item</p>
      </li>
      <!-- ... -->
      <li>
        <p>list item</p>
        <ul>
          <li>nested list</li>
        </ul>
      </li>
      <li>
        <p>another list</p>
      </li>
      <!-- ... -->
      <li>
        <p>another list</p>
      </li>
    </ul>

Plugin prevents Notepad++ starting up

When the MarkdownViewerPlusPlus plug-in is enabled, NotePad++ does not start up correctly. It appears in Task Manager, but the window does not show. The problem is resolved when MarkdownViewerPlusPlus.dll is moved to the disabled subfolder. Removing all other plugins apart from MarkdownViewerPlusPlus did not fix the problem.

It may just be coincidence, but http://notepad-plus-plus.org is not accessible at the moment.

System details:
Windows 10 Pro 64-bit (1511)
Notepad++ 5.5.1 32-bit
MarkdownViewerPlusPlus 0.7.1

T: Add configurable update timeout

A setting of milliseconds how long to wait after a keystroke before refreshing the renderer, to optimize live editing in larger documents.

CSS child selector

Using the child selector > in the Custom CSS does not work as expected. It appears to get parsed into the HTML entity &gt; during export to HTML.

T: View generated HTML Code

An addition to the Plugin or View menu should be the possibility to see the rendered HTML Code, either as new file in Notepad++, as a modal dialog or directly switch the rendered view between HTML Code and Rendered view.

The reason/use case may be, that someone wants to use the generated HTML to paste into something else. Now, the rendered file would have to be exported first.

line breaks within paragraph not recognized

single carriage return in text isn't displayed in preview as a new line within paragraph, it is displayed as a continuation on the same line.

eg: the text:
this is line 1
this is line 2

gets rendered as "this is line 1 this is line 2"

PDF font for nested lists

When I export as PDF my lists have odd glyphs:

  • tier 1 a small black dot.
    • tier 2 a larger white circle.
      • tier 3 a black spade (card symbol).

HTML version viewed in chrome looks much better. So is there a fix for the PDF version?
I'm on Windows 8.1.

Not recognizing file extension

I tried v0.5.0 and set the file extension option, however I get this in the render window when I open a file that should be rendered:

Your configuration settings do not include the currently selected file extension.
The rendered file extensions are 'md'.
The current file is 'ExternalPluginSupport.md'. False 

If I edit the file the False turns to True. If I manually select View > Refresh the file does get rendered, however it gets reset to that warning message if I try to edit the file.

Sub-item bullets off

For some reason in the preview window, the sub-item bullets are off. The first bullet seems fine, but the first sub bullet seems to be a "o" character and a sub sub bullet is a spade. I'm not sure if this is intentional. If I export as HTML or print, it looks good, but export as PDF and the preview shows this.

image

Error: ColorBlend object that was set is not valid

I have tried release 0.7.1.0 on Windows 10 x64, I get the following error when opening the viewer. I don't get this error in Windows 7 x64. When I switched to Windows 10 x64, I get this error in both of my machines. Then I tried to compile and troubleshoot but unfortunately I couldn't get the Unicode to compile which I have logged under issue #48, otherwiseI can investigate further.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: ColorBlend object that was set is not valid.Position's last element must be equal to 1.0. ColorBlend objects must be constructed with the same number of positions and color values. Positions must be between 0.0 and 1.0, 1.0 indicating the last element in the array.
   at System.Drawing.Drawing2D.LinearGradientBrush._SetInterpolationColors(ColorBlend blend)
   at Svg.SvgLinearGradientServer.GetBrush(SvgVisualElement renderingElement, ISvgRenderer renderer, Single opacity, Boolean forStroke)
   at Svg.SvgVisualElement.RenderFill(ISvgRenderer renderer)
   at Svg.SvgVisualElement.Render(ISvgRenderer renderer, Boolean renderFilter)
   at Svg.SvgVisualElement.Render(ISvgRenderer renderer)
   at Svg.SvgElement.RenderChildren(ISvgRenderer renderer)
   at Svg.SvgVisualElement.Render(ISvgRenderer renderer, Boolean renderFilter)
   at Svg.SvgVisualElement.Render(ISvgRenderer renderer)
   at Svg.SvgElement.RenderChildren(ISvgRenderer renderer)
   at Svg.SvgElement.Render(ISvgRenderer renderer)
   at Svg.SvgFragment.Render(ISvgRenderer renderer)
   at Svg.SvgDocument.Draw(Bitmap bitmap)
   at com.insanitydesign.MarkdownViewerPlusPlus.Forms.MarkdownViewerRenderer.ConvertSvgToBitmap(SvgDocument svgDocument, HtmlImageLoadEventArgs imageLoadEvent)
   at com.insanitydesign.MarkdownViewerPlusPlus.Forms.MarkdownViewerRenderer.OnDownloadDataCompleted(DownloadDataCompletedEventArgs downloadEvent, HtmlImageLoadEventArgs imageLoadEvent)
   at com.insanitydesign.MarkdownViewerPlusPlus.Forms.MarkdownViewerRenderer.<>c__DisplayClass5_1.<OnImageLoad>b__1(Object downloadSender, DownloadDataCompletedEventArgs downloadEvent)
   at System.Net.WebClient.OnDownloadDataCompleted(DownloadDataCompletedEventArgs e)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2115.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
MarkdownViewerPlusPlus
    Assembly Version: 0.7.1.30408
    Win32 Version: 0.7.1.0
    CodeBase: file:///C:/Program%20Files/Notepad++/plugins/MarkdownViewerPlusPlus.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.Office.Interop.Outlook
    Assembly Version: 15.0.0.0
    Win32 Version: 15.0.4569.1507
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Outlook/15.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll
----------------------------------------
office
    Assembly Version: 15.0.0.0
    Win32 Version: 15.0.4613.1000
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/office/15.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

Rendering of inline images with relative paths is not working

The viewer panel does not render images that are in a path relative to the file being edited. It does render remote images just fine, however. Examples have been included that demonstrate a failed render and a successful render. In both cases, the Export/HTML command will produce a document that is able to render in a browser since the links are properly formatted in both example cases.

Example1 - render failure:

  • Image exists in a relative directory: ./images
  • File target for the markdown link: ./images/someImage.png
  • Goal - render the image inline in the viewer panel
  • Markdown - ![Test](./images/someImage.png)
  • Result - Image is not rendered; an [X] placeholder is there instead

Example2 - render success:

local images

It cant render "![foo](train.jpg)” or i miss smth?

Broken picture in preview, exported pdf, printed pdf, but shows properly if open html in web-browser.

In numbered list unneeded newline after item number

Rendering a simple numbered list with a blank line between items gives (on screen and in pdf but not in html) an unwanted newline after the item number (see first screen capture below). Instead, without blank line gives the correct list rendering (see second screen capture below).
Bug or feature?
Thanks for looking!
mario

capture1
capture2

white border

If paste "solarized-light.css" (for example) to css field preview shows white border. It also renders in pdf. But html view in browser has not any border... Why so?

Thanks, btw, great plugin.

Ignores last character

There seems to be an off-by-one error somewhere because the last character of the document is ignored.

  1. Open a blank document
  2. Open the MarkdownViewer++ window
  3. Type a - nothing happens
  4. Type b, now only the a shows up in the window

[Feature Request] Add CriticMarkup support

Hi Savas,

Thank you so much for creating this plugin! Like you I have Notepad++ open practically 24/7 and in recent weeks have started to use it a lot for markdown. I recently came across CriticMarkup and though I realize it is intended for plain text, I am wanting to use it most often when collaborating with others on markdown text files.

I've attempted to get CriticMarkup to work in Sublime Text, Atom and Vim but after several days of trying, I'm now admitting defeat. I don't know these other editors very well (much less compared to Notepad++) so I'm hoping you might be able to add CriticMarkup either as a separate plugin or ideally as an integrated feature to MarkdownViewerPlusPlus.

Thanks again for your plugin -- it has helped me be very productive. 😃

T: Add an option for custom CSS

To be able to format e.g. <ul>/<li> elements in the rendered/exported HTML, provide an option to allow the free-text addition of custom CSS rules.

Fenced code blocks

When exporting to HTML, the <pre> and <code> tags for fenced code blocks are separated, and the <code> tag indented on a new line.

    <pre>
        <code>aaa
...
</code>
    </pre>

Something like the above occurs, and as a result the first line of code is preceded by whitespace, and an extra line is included at the end:

        aaa
...

The HTML to Clipboard produces the expected HTML:

<pre><code>aaa
...
</code></pre>

And the desired result:

aaa
...

Formatting toolbar

Would it be possible to add an optional toolbar with markdown formatting (for example, this text editor that's adding an issue)? Basically, it inserts the proper characters for whatever formatting is selected, or wraps highlighted text in said characters. This would be really helpful for people like me who haven't memorized every single Markdown format.

Feature Request: smart quotes

I don't know if this is a common thing in markdown or not, so maybe it should be an option instead of a default feature, but it would be nice if the previewer showed smart quotes in its preview. When markdown is entered on sites like Tumblr it does the smart quotes -- though, as I say, I don't know if it's applicable in all situations where markdown is used.

For example:

"this text won't be rendered with smart quotes"

would become:

“this text won’t be rendered with smart quotes”

Strikethrough effect missing

Hi,

Just noticed that I can't get the strikethrough effect in the extension.

Steps to replicate:
Add any string encapsulated with ~~ (for example ~~example~~)
Expected behavior:
Encapsulated string is enhanced with the strikethrough effect
Actual behavior:
Effect is not applied, ~'s are shown in the panel

Version 0.7.1.30398, installed through Plugin Manager.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.