Git Product home page Git Product logo

logseq-plugin-quick-references's Introduction

Installation

  1. In Logseq, go to "Settings" -> "Advanced" and activate "Plug-in system".
  2. Click on three dots at the top-right corner and on "Plugins".
  3. Click on "Marketplace" button and type "quick references" in the search.
  4. Look for the plugin named "Quick References" and a yellow thunder icon.
  5. Click "install".

Context

This plugin came out of my need doing interstitial-journaling and referring my current project on the current week or tags more used. I'd like to avoid typing those things every time I changed the focus and subject on my journal.

The current alternatives, without this plugin, would be:

  • creating your own commands in the config.edn
  • creating alias on the pages you want to mention

But both demands more work, and the second alternative asks for change in the content you write.

Using this plugin

Using this plugin

So I thought that I could have a quick slash command or some shortcut. Initially, for the first version, I did slash commands from 1 to 9 quick references for each of my most important things to the moment:

  • /q1 Quick Reference
  • /q2 Quick Reference ...
  • /q9 Quick Reference

Each command get the related reference from the page "Contents" under some parent block named "Quick References". All you need to do is to create something in the Contents page like this example:

  • Quick References
    • [[life/project/ABC]]
    • #[[life/health/emotions]]
    • [[xyz]]
    • anything else
    • other
    • more

Note the lines under "Quick References". Each one corresponding to each slash command at the same order: /1 Quick Reference, /2 Quick Reference, /3 Quick Reference, etc.

So, when you are typing and want to mention some page set in the Contents, you just need to use those commands. To use in a quick way and make sense of using this plugin for quick reference just type /q{number of reference}, like /q2 and press ENTER. In this way is easy to change the references when needed.

Example on interstitial-journaling where I could use quick reference to mention some project or tag

  • 09:33 [[life/project/ABC]] doing something
  • 09:41 researching about [[xyz]].
  • 09:50 scrolling on twitter.
  • 09:57 focusing again on [[life/project/ABC]]
  • 10:18 #[[life/health/emotions]] feeling excited because...
  • 09:41 researching about [[xyz]]
    • 10:37 I found that...
  • 11:37 having lunch
  • 13:01 continuing developing the component on [[life/project/ABC]]

Credits

Thunder icon created by Smashicons - Flaticon

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.