Camen Design Forum

ReMarkable and Notepad++

append delete José-Carlos

Hola Kroc, first of all thank you so much for all the information and articles i got to read on your website. Iam very interested in HTML5, CSS and jQuery. And iam learning alot at the moment reading and coding trying to archieve my first flexible website using media queries, flexible grids and images. Iam using notepad++ and i was wondering if you could help me with setting up your ReMarkable syntax script. I know you use some other software but perhaps you can help out. I would be very happy to finally get to use your script.
i use NppExec to run a console. It should be possible to run your script out of Notepad++ or not ?
Well i found some people using markdown and they use notgepad++ with something like this:

the Go into Plugins > NppExec > Execute… or just hit F6 and type the following into the script box making sure to put the correct path to wherever your script lives:

perl "C:\Markdown_1.0.1\" "$(FULL_CURRENT_PATH)"

Perhaps you can help ? Well anyways, always a pleasure to find new articles of yours in my rss reader. Thank you.


Reply RSS


append delete #1. Kroc

Yes, this is possible.

The ReMarkable documentation gives instruction on running ReMarkable from the command line (see the section "Using ReMarkable From the Command Line")

There is this example for taking an existing rem file and saving as HTML

php remarkable.php < documentation.rem > documentation.html

On Windows, you might have to use the full path to the PHP executable, such as "C:\PHP\PHP.exe"

You might have to look at the Notepad++ documentation to determine which each of the macros are, but I would imagine that the resulting command (that you would use in Notepad++) would be something like:


Hope this helps.

Kroc added on

Sorry, that last command was completely wrong, it should read:

C:\PHP\PHP.exe C:\remarkable.php < "$(FULL_CURRENT_PATH)" > "$(CURRENT_DIRECTORY)$(NAME_PART).html" 

Where both the paths to PHP.exe and remarkable.php are correct.

append delete #2. José-Carlos

Thank you for your quick help. Unfortunately it still does not work.

cmd /C c:\xampp\php\php.exe  C:\remarkable\remarkable.php < "$(FULL_CURRENT_PATH)" > "$(CURRENT_DIRECTORY)$(NAME_PART).html"

So far i get an html file out but no code inside. Iam giving my best but it seems i have to work harder on my skillset. I don´t know much about php :( gonna have to change that.
In the future i would like to be able to create my own site not having to rely on wordpress or some other CMS.


append delete #3. Kroc

What's the "cmd /C" for, is that part of the Notepad++ code? I don't think you need that there since you're calling PHP, not CMD.

append delete #4. José-Carlos

Hej Krok,

iam telling Notepad++ that it should open the console and go to my c drive. It still won´t work for me :( Iam running out of ideas.

append delete #5. Kroc

No, you don’t need to open the console. You just need to directly execute php.exe. If I get the time I will download Notepad++ and try setting this up. Also, have you asked in the Notepad++ forums?

append delete #6. Kroc

This is just surreal. I can get this to work from the command line, but not in Notepad++. I think there's a bug in either PHP or NppExec, because it just hangs in NppExec, but works fine directly type into the command line.


(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn