Community
    • Login

    [New Plugin] MarkdownViewer++

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    htmlpluginpdfmarkdown
    25 Posts 10 Posters 43.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xomxX
      xomx
      last edited by

      URL?
      I used the very svg file (see the above) and also the same in a simple html file like:

      <html>
      <head>
      <meta http-equiv=“Content-Type” content=“text/html; charset=UTF-8” />
      <title>SVG test</title>
      </head>
      <body>
      <svg xmlns=“http://www.w3.org/2000/svg” width=“467” height=“462”>
      <rect x=“80” y=“60” width=“250” height=“250” rx=“20” style=“fill:#ff0000; stroke:#000000;stroke-width:2px;” />
      <rect x=“140” y=“120” width=“250” height=“250” rx=“40” style=“fill:#0000ff; stroke:#000000; stroke-width:2px; fill-opacity:0.7;” />
      </svg>
      </body>
      </html>

      1 Reply Last reply Reply Quote 0
      • neaN
        nea
        last edited by

        Hi @xomx

        Ok, then maybe it came of wrong.

        The MarkdownViewer++ does not render SVG files in Notepad++. It renders SVG files from sources, embedded inside a Markdown file. Sorry if that got of wrong.

        As I mentioned, I wanted to focus first on Markdown files, even if direct SVG rendering would be possible right now.

        There was an issue in an earlier version where the used renderer library didn’t support SVG natively. So, I added it… for according links/URLs in the Markdown file. That is what I fixed and what should work at the moment.

        Sorry about any confusion

        PS: If you like to see that feature in the future, maybe add it as issue and I will see how I can generalize the rendering functionality in the future ^^
        Thanks

        1 Reply Last reply Reply Quote 0
        • xomxX
          xomx
          last edited by

          Ok, I see now.

          1 Reply Last reply Reply Quote 0
          • neaN
            nea
            last edited by

            Hi

            Update 0.7.0 has just been released.

            Some more new features/additions have been made besides some smaller bugfixing:

            • Added a menu action to print the rendered content directly
            • Added margins configuration for PDF exports
            • Added a menu action to copy the rendered content to the clipboard
            • Added options to open an exported PDF/HTML after the action completed
            • Added a menu action to send content as HTML/Text E-mail (requires Outlook)

            You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases

            Should you discover any bugs, post them at https://github.com/nea/MarkdownViewerPlusPlus/issues and I will get to it as fast as I possibly can.

            Thanks a lot and Cheers

            1 Reply Last reply Reply Quote 1
            • AlexA
              Alex
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • OldskoolOrionO
                OldskoolOrion @nea
                last edited by

                @nea This is one of those times, I come across something and feel the need to slap myself on the forehead and go “DOOH” Homer Simpson-style… A lot of colleagues and I work A LOT with markdown since it’s fast to write, and very little effort to write a lot of descriptive text - for instance complex unstructured datasets while research is ongoing - and still make it look good and professional… only downside with describing datasets is, that there is NO way around not checking regularly to how it looks in output, especially since records or JSON sets can get very long - describing fields in blocks lining up with what could be a relationship… writing them in an online tool isn’t ideal and so wasn’t switching between windows either… and that’s why not thinking of a plugin myself or any colleague I regularly work together with, is pretty stupid actually for a bunch of scientists :-) Shows again that visionaries in one field, can be blind as a bat in a different field :-) I like the plugin a lot sofar and had no trouble in convincing others to give it a go… sending the link to your github did the trick :-) Thank you !

                1 Reply Last reply Reply Quote 0
                • Ethan PiliavinE
                  Ethan Piliavin
                  last edited by

                  Would you consider a dark theme option for those of us that enjoy to work in the dark?

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Ekkehard PofahlE
                      Ekkehard Pofahl @nea
                      last edited by

                      @nea ,

                      Thank you very much for that great tool ! Although I am already happy and have gotten more than I expected, I will gladly follow any improvement. One very little improvement for new users may be to set the “synchronize” checkmark to “on” as default, ;-) .

                      1 Reply Last reply Reply Quote 0
                      • neaN
                        nea
                        last edited by

                        Hi everyone

                        After a long idle period (really sorry about that) I just updated to 0.8.0:

                        • Changed CommonMark converter to Markdig to support more custom Markdown syntax such as Pipe Tables etc.
                        • Updated PDFSharp and HTMLRenderer.PDFSharp accordingly (custom compilation, not in NuGet for the moment as HTMLRenderer has to merge my PR first!)
                        • Updated the NPP.net Plugin Template

                        You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases/tag/0.8.0

                        Regarding all the issues: I have not forgotten about them but have to find the time and will get onto them ^^

                        Cheers

                        1 Reply Last reply Reply Quote 1
                        • neaN
                          nea
                          last edited by

                          Heyho

                          An unfortunate old bug stumbled back into release 0.8.0 why I just released a small update:

                          • Fixed a bug cutting off text after 10000 characters
                          • Changed parsing of custom CSS to recognize @import statements and have them lead

                          You can find the newest release at https://github.com/nea/MarkdownViewerPlusPlus/releases/tag/0.8.1

                          Really sorry about that

                          Michael VincentM 1 Reply Last reply Reply Quote 0
                          • Michael VincentM
                            Michael Vincent @nea
                            last edited by

                            @nea

                            Are you still developing the MardownViewer++ plugin? It looks pretty stale on GitHub and there are some bugs with the upgrades to N++ / Scintilla during that timeframe. I still use it, but it could be improved. I don’t know C# and I can’t get Visual Studio to fetch the nuget packages it’s asking for. I’d be happy to contribute if only it was in C++.

                            Cheers.

                            Michael VincentM 1 Reply Last reply Reply Quote 1
                            • Michael VincentM
                              Michael Vincent @Michael Vincent
                              last edited by

                              @Michael-Vincent

                              ALCON: I’ve seen a more recently maintained version:

                              https://github.com/UrsineRaven/NppMarkdownPanel

                              to which I’ve submitted a pull request to fix the auto-refresh while typing and make the auto-scrolling not so severe.

                              You can find my version at:
                              https://github.com/vinsworldcom/NppMarkdownPanel

                              NOTE: “My” version is completely UNSUPPORTED and only there as a repo for a pull request to someone else’s work.

                              Cheers.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors