From 7b4d69933c9201eecfe4496941888ac74b30ad9c Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 30 Oct 2017 22:47:36 +0000 Subject: [PATCH] Fixing website --- CliClient/app/build-website.js | 1 + index.html | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CliClient/app/build-website.js b/CliClient/app/build-website.js index 1e488f0ff5..85a8d8bf94 100644 --- a/CliClient/app/build-website.js +++ b/CliClient/app/build-website.js @@ -79,6 +79,7 @@ const headerHtml = ` padding-left: 2em; padding-right: 2em; padding-bottom: 2em; + padding-top: 2em; } .forkme { position: absolute; diff --git a/index.html b/index.html index 68e3a3a6b8..26a03f8f50 100644 --- a/index.html +++ b/index.html @@ -71,6 +71,7 @@ padding-left: 2em; padding-right: 2em; padding-bottom: 2em; + padding-top: 2em; } .forkme { position: absolute; @@ -95,7 +96,7 @@

Notes exported from Evernote via .enex files can be imported into Joplin, including the formatted content (which is converted to markdown), resources (images, attachments, etc.) and complete metadata (geolocation, updated time, created time, etc.).

The notes can be synchronised with various targets including the file system (for example with a network directory) or with Microsoft OneDrive. When synchronising the notes, notebooks, tags and other metadata are saved to plain text files which can be easily inspected, backed up and moved around.

The application is still under development but is out of Beta and should be suitable for every day use. The UI of the terminal client is built on top of the great terminal-kit library, and the Android client front end is done using React Native.

-

Joplin Terminal Screenshot

+

Joplin Terminal Screenshot

Installation

npm install -g joplin
 

To start it, type joplin.

@@ -119,7 +120,7 @@

Usage

To start the application type joplin. This will open the user interface, which has three main panes: Notebooks, Notes and the text of the current note. There are also additional panels that can be toggled on and off via shortcuts.

-

+

Input modes

Joplin user interface is partly based on the text editor Vim and offers two different modes to interact with the notes and notebooks:

Normal mode

@@ -211,10 +212,10 @@

Get it on Google Play

URLs

When Ctrl+Clicking a URL, most terminals will open that URL in the default browser. However, one issue, especially with long URLs, is that they can end up like this:

-

+

Not only it makes the text hard to read, but the link, being cut in two, will also not be clickable.

As a solution Joplin tries to start a mini-server in the background and, if successful, all the links will be converted to a much shorter URL:

-

+

Since this is still an actual URL, the terminal will still make it clickable. And with shorter URLs, the text is more readable and the links unlikely to be cut. Both resources (files that are attached to notes) and external links are handled in this way.

Attachments / Resources

In Markdown, links to resources are represented as a simple ID to the resource. In order to give access to these resources, they will be, like links, converted to local URLs. Clicking this link will then open a browser, which will handle the file - i.e. display the image, open the PDF file, etc.