Giter Site home page Giter Site logo

joplin-outline's Introduction

Joplin Outline Plugin

This is a outline plugin for Joplin. Refer to joplin toc.

English · 简体中文


screenshot

Features

  • Support atx-style headers (#), not setext-style headers (---, ===).
  • Support right click to paste markdown inner link.
  • Support custom style.
  • Support adding custom symbols before headings.
  • Support jumping to header in Editor Mode. (contributed by @jerrylususu)

Requirements

  • Joplin 1.3.15 or higher for application plugins support.

Installation

To install joplin-outline, copy outline.jpl to your profile's plugins directory. The outline will be automatically loaded and executed when you restart the application.

Configurations

Configuration Type Description
Toggle Shortcut String Shortcut to switch panel display
Auto Hide Bool Automatically hide the panel when there is no content
Font Family String Default: var(--joplin-font-family)
Font Size (pt) Int Default: 10pt
Font Color String Default: var(--joplin-color)
Background Color String Default: var(--joplin-background-color)
Disable Linewrap Bool Disable the linewrap
Number Style String
H[1-6] Prefix String Custom prefix

Building

Building the plugin

The plugin is built using Webpack, which creates the compiled code in /dist. A JPL archive will also be created at the root, which can use to distribute the plugin.

To build the plugin, simply run npm run dist.

The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.

Updating the plugin framework

To update the plugin framework, run yo joplin --update

Keep in mind that doing so will overwrite all the framework-related files outside of the "src/" directory (your source code will not be touched). So if you have modified any of the framework-related files, such as package.json or .gitignore, make sure your code is under version control so that you can check the diff and re-apply your changes.

For that reason, it's generally best not to change any of the framework files or to do so in a way that minimises the number of changes. For example, if you want to modify the Webpack config, create a new separate JavaScript file and include it in webpack.config.js. That way, when you update, you only have to restore the line that include your file.

Community

A markdown outline sidebar plugin for Joplin

Toc as the sidebar

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jasper

💻

Brett Bender

💻

Neko Null

💻

Kenichi Kobayashi

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

joplin-outline's People

Contributors

cqroot avatar allcontributors[bot] avatar jerrylususu avatar brttbndr avatar jasper-zz avatar ken1kob avatar

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.