Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [New Plugin] New Markdown Text Plugin

    Plugin Development
    4
    14
    3831
    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.
    • KnIfER
      KnIfER @linpengcheng last edited by

      @linpengcheng when it’s stable I’ll build a x32 version

      1 Reply Last reply Reply Quote 2
      • linpengcheng
        linpengcheng last edited by

        @KnIfER thanks!

        1 Reply Last reply Reply Quote 0
        • Makwana Prahlad
          Makwana Prahlad Banned last edited by

          Hello,@KnIfER
          Please try this steps,To [New Plugin] New Markdown Text Plugin

          Step 1 :- In the Notepad++ menu bar, click Plugins > Plugins Admin.
          Step 2 :- Search for “markdown”, and select MarkdownViewer++, then click the install button.
          Step 3 :- Once installed, allow Notepad++ to restart and load up any Markdown file. Then, click the “M” button on the far right of the toolbar to toggle the Markdown preview pane

          I hope this information will be useful.
          Thank you.

          1 Reply Last reply Reply Quote -4
          • Developing_TE
            Developing_TE last edited by

            I am going to continue and finish this plugin project.

            I was waiting for the formal release of Edge’s Webview2 actually . I thought it will come along with the newer version of Edge Browser, but months later, it still isn’t there. It turned out that I just to install a “Webview2 runtime”. —— I hope he news is not toooo late :)

            Plans:

            1. write some Pimpl code. the old multi-browser code is to long. Need to separate it into Pimpls of miniblink and Webview2.
            2. embed wke maybe . wke is the smallest.
            3. Enrich the features。Turn it into a HTML viewer, into an offline ShaderToy Viewer …
            1 Reply Last reply Reply Quote 1
            • KnIfER
              KnIfER last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • KnIfER
                KnIfER last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • linpengcheng
                  linpengcheng @KnIfER last edited by

                  @KnIfER If user can define the conversion command line of various file types to html in the options, instead of the native engine of md2html, it will become:

                  1. Preview plugins for various file types, not limited to md
                  pandoc.exe current-file.t2t xx.html
                  pandoc.exe current-file.rst xx.html
                  pandoc.exe current-file.adoc xx.html
                  
                  1. sql file execution DB query, result convert to html preview
                  python.exe user_def_query.py xx.sql xx.html
                  
                  1. the data file execution python or R language visualization script, result convert to html preview
                  rscript.exe user_def_data2plot.r xxx.csv x.html
                  
                  1. Data preview of various data structures
                  python.exe user_def_datastruct2html.py xx.java xx.html
                  
                  1. Literary Programming using Markdown comments
                  python.exe user_def_mlp.py xx.py xx.html
                  
                  linpengcheng 2 Replies Last reply Reply Quote 0
                  • linpengcheng
                    linpengcheng @linpengcheng last edited by

                    1. Run the current script automatically and display the html result
                    2. Webapp test
                    1 Reply Last reply Reply Quote 0
                    • linpengcheng
                      linpengcheng @linpengcheng last edited by

                      The html(markdown) preview window will become a magic showcase.

                      1 Reply Last reply Reply Quote 0
                      • linpengcheng
                        linpengcheng last edited by linpengcheng

                        “Preview HTML” plugin can do it.

                        Notepad++\plugins\Config\PreviewHTML\Filters.ini

                        [hiccup]
                        Extension=.hiccup, .hip
                        Language=hiccup
                        Command=C:\Notepad++\tools\clj\bb.exe C:\Notepad++\tools\clj\hiccup2html.clj  "%1"
                        

                        note: bb.exe (babashka) is a native Clojure interpreter for scripting with fast startup.
                        https://github.com/babashka/babashka

                        Notepad++\tools\clj\hiccup2html.clj

                        (use '[hiccup.core :as hiccup])
                        (->> *command-line-args* 
                             first
                             slurp
                             read-string
                             html
                             print)
                        

                        test.hiccup

                        [:h1 "111" [:br] 
                          [:p "abcdfghicg"]]
                        

                        hiccup2html.png

                        1 Reply Last reply Reply Quote 0
                        • linpengcheng
                          linpengcheng last edited by

                          update:
                          hiccup2html.clj

                          (use 'hiccup.core)
                          (->> *command-line-args* 
                               first
                               slurp
                               read-string
                               eval
                               html
                               print)
                          

                          test.hiccup

                          [:p
                            [:h1 "List"]
                            [:ul
                              (for [x (range 1 4)]
                                [:li x])]]
                          

                          image:
                          hiccup2html_h1_ul_for_li.png

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright © 2014 NodeBB Forums | Contributors