QOwnNotesQOwnNotes
Kezdő lépések
Telepítés
  • Ask question
  • Ask for feature
  • Report bug
  • Telegram Channel
  • Matrix/Element.io Room
  • Gitter Chat
  • IRC Channel
  • Mastodon
  • Twitter
  • Facebook
Adományozás
  • English
  • Deutsch
  • Italiano
  • Français
  • Español
  • فارسی
  • Nederlands
  • Magyar
  • العربية
  • Polski
  • 한국어
GitHub
Kezdő lépések
Telepítés
  • Ask question
  • Ask for feature
  • Report bug
  • Telegram Channel
  • Matrix/Element.io Room
  • Gitter Chat
  • IRC Channel
  • Mastodon
  • Twitter
  • Facebook
Adományozás
  • English
  • Deutsch
  • Italiano
  • Français
  • Español
  • فارسی
  • Nederlands
  • Magyar
  • العربية
  • Polski
  • 한국어
GitHub
  • Kezdő lépések

    • Áttekintés
    • Koncepció
    • QOwnNotes Demo
    • Markdown
    • Jegyzetek importálása
    • Parancssori interfész paraméterek
    • QOwnNotes Web Companion böngészőbővítmény
    • Command-line Snippet Manager
    • QOwnNotes webalkalmazás
    • QOwnNotesAPI Nextcloud App
    • Note relations panel
    • Jegyzetek keresése
    • Parancsikonok
    • Git versioning
  • Telepítés

    • Telepítés
    • Telepítse az Ubuntu Linux-ra, az elemi operációs rendszerre és a Linux Mint-re
    • Telepítse a Microsoft Windows™ rendszerre
    • Telepítse a macOS™ -ra
    • Telepítés a Debian Linux rendszerre
    • Install on openSUSE Linux
    • Telepítés Fedora Linux rendszerre
    • Install as Snap
    • Telepítés Flatpak néven
    • Telepítés AppImage néven
    • Install via Nix
    • Telepítés Arch Linux rendszerre
    • Telepítse Solus-ra
    • Telepítés KaOS Linux rendszerre
    • Telepítés a CentOS Linux rendszerre
    • Telepítés Raspberry Pi OS-re
    • Telepítés a Gentoo Linux rendszerre
    • Telepítse Funtoo Linuxra
    • Install on Void Linux
    • Telepítse a Slackware Linux rendszerre
    • Telepítse a FreeBSD-re
    • A QOwnNotes építése
  • Szerkesztő

    • Spellchecking
    • AI support
    • Időformátumok:
  • Szkriptelés

    • QOwnNotes szkriptek
    • Módszerek és objektumok, amelyeket a QOwnNotes biztosít
    • Hooks
    • Kitett osztályok
  • Közreműködés

    • Bekapcsolódás
    • Code of Conduct
    • Fenntartók
    • Fordítás
    • Adományozás
    • Sponzorok
  • GYIK

    • Hogyan jeleníthetem meg az előnézeti panelt a jegyzetszerkesztő panel nélkül?
    • Hol találom, amit mások mondtak a QOwnNotes-ról?
    • Mire használjuk a mérőszámokat?
  • Blog (angolul)

    • Overview
    • QOwnNotes Webpage Relaunch with VuePress 2, Vue.js 3, and Vuetify 3
    • Universal binary for macOS
    • Note relations panel
    • AI support was added to QOwnNotes
    • Source Archive switched from TuxFamily to GitHub Releases
    • Nextcloud Deck integration in QOwnNotes
    • QOwnNotes UI End2End Tests with the help of NixOS
    • Please test Qt6 version of QOwnNotes from a new PPA for Ubuntu Linux
    • Evernote import for huge files
    • Happy 1000th release of QOwnNotes
    • Polish website translation
    • Working with multiple notes
    • QOwnNotes command-line snippet manager
    • Nextcloud note versions
    • Manage orphaned image files and attachments
    • Linking of note headings
    • Tor Hidden Service Webpage
    • Use workspaces to manage different layouts of the user interface
    • Auto-complete text in note editor
    • Open links in the note editor
    • Solve simple equations in the note editor
    • Auto-format Markdown tables
    • QOwnNotes Mastodon page
    • Repository for Debian 11
    • Joplin import
    • Send photos from your mobile phone to QOwnNotes on the desktop
    • Four new languages added to the website
    • QOwnNotes Demo
    • Markdown explanation
    • Webpage translation
    • QOwnNotes for Ubuntu 21.04 Hirsute Hippo
    • QOwnNotes for Fedora 33
    • Release and blog posting automation
    • Legacy update service up again
    • RSS Feeds are back in place
    • Time Flies Podcast episode with interview about QOwnNotes
    • Bookmark management with QOwnNotes and Web Companion browser extension
    • Firefox extension on Firefox Add-ons page
    • Chrome extension in Chrome Web Store
    • QOwnNotes Web Companion Chrome extension
    • 500th release of QOwnNotes
    • QOwnNotes Telegram Group
    • Vim mode
    • QOwnNotes for openSUSE Leap 15, SUSE Linux Enterprise 15 and SUSE Linux Enterprise 12 SP3
    • QOwnNotes featured on LINUX Unplugged podcast and by Ubuntu
    • Interview for ownCloud
    • QOwnNotes for Fedora 27
    • QOwnNotes reviewed in German magazine c't
    • QOwnNotesAPI in the ownCloud Marketplace
    • QOwnNotes as AppImage
    • QOwnNotes for Debian 9.0, Fedora 26 and openSUSE Leap 42.3
    • Script repository and script settings variables
    • Fedora 25 release and new documentation page
    • Solus package for QOwnNotes
    • Automatic updates in Windows and macOS
    • Note encryption with keybase.io or directly with PGP
    • Evernote import
    • Portable mode
    • QOwnNotes on webupd8.org
    • QOwnNotes featured on the Linux Voice Podcast
    • QOwnNotes snap
    • QOwnNotes review in British magazine Linux Format
    • QOwnNotes Slackware Linux Repository
    • QOwnNotes review
    • QOwnNotes IRC
    • QOwnNotes now has scripting support
    • QOwnNotes is the Desktop App Pick on the Linux Action Show
    • QOwnNotes got featured in Linux Voice 25
    • QOwnNotes Gentoo Linux Overlay
    • Translate QOwnNotes on Crowdin
    • QOwnNotes 1.0 out now in 6 languages and with Freedesktop theme icons support
    • QOwnNotes software repository for Debian Linux
    • QOwnNotes package on the Arch User Repository
    • QOwnNotes software repository for Arch Linux
    • Webpage redesign
    • Qt widget QMarkdownTextEdit now a separate project for developer's pleasure
    • New release version RSS feed
    • New Linux software repositories and todo list support
    • QOwnNotes on Linux Unplugged
    • Build and release systems for QOwnNotes for Linux, macOS and Windows!
    • Links to other notes or files are now possible in QOwnNotes
  • Változásnapló (angolul)

    • QOwnNotes Changelog

Command-line Snippet Manager

A QOwnNotes Command-line Snippet Manager segítségével futtathatja a jegyzetekben tárolt parancsrészleteket a QOwnNotes alkalmazásban a parancssorból.

qc

Speciális címkével ellátott megjegyzések segítségével tárolhatja a parancsrészleteket, amelyeket a parancssori kódrészletkezelőből hajthat végre.

commands

Telepítés

Keresse fel a legfrissebb kiadás oldalát és töltse le a kívánt verziót.

Tipp

Ha telepítve van a jq, ezt a kódrészletet használhatja például a legújabb Linux AMD64 AppImage letöltéséhez és telepítéséhez a /usr/local/bin/qc címre:

curl https://api.github.com/repos/qownnotes/qc/releases/latest | \
jq '.assets[] | select(.browser_download_url | endswith("_linux_amd64.tar.gz")) | .browser_download_url' | \
xargs curl -Lo /tmp/qc.tar.gz && \
tar xfz /tmp/qc.tar.gz -C /tmp && \
rm /tmp/qc.tar.gz && \
sudo mv /tmp/qc /usr/local/bin/qc && \
/usr/local/bin/qc --version

Függőségek

Az fzf (fuzzy search) vagy a peco (régebbi, de nagyobb valószínűséggel alapértelmezés szerint telepítve) telepítése szükséges a parancsok kereséséhez a parancssorban.

Tipp

Alapértelmezés szerint az fzf kifejezést használja a kereséshez, de használhatja a peco-t, ha beállítja a qc configure paranccsal.

Beállítás

socket-server-token

Before you are using the snippet manager you need to enable the Web socket server (2) in the Browser extension / command snippets (1) settings in QOwnNotes.

Ezután meg kell mutatnia a biztonsági tokent (3), és ki kell másolnia (4).

Most nyissa meg a kódrészletkezelő konfigurációs fájlját a következővel:

# Konfigurálja a kódrészletkezelőt
qc konfigurálása

És helyezze a biztonsági tokent a token attribútumba:

[QOwnNotes]
token = "yourtokenhere"

Tipp

A QOwnNotes beállításaiban azt is beállíthatja, hogy milyen jegyzetcímkét használjon a parancsok kereséséhez a jegyzetekben. Alapértelmezés szerint a commands címke használatos.

A parancsrészletek szintaxisa

Használhat soron belüli kódblokkokkal rendelkező rendezetlen listákat a parancsrészletek tárolására. Minden commands címkét tartalmazó jegyzetben a rendszer parancsrészleteket keres.

Ha a soron belüli kódblokk elé egy cmd: karakterláncot ad hozzá, a parancs az aktuális jegyzetben is megtalálható lesz, függetlenül a jegyzetcímkéktől.

- `echo I am a command` I am a description #tag1 #tag2 #tag3

* `echo I am also a command` I am a description #tag3 #tag4 #tag5

- cmd: `echo I will be found in the current note` This command will be found in the current note regardless of note tags

<!-- Example for asking for user input -->

- `read -p "PR ID: " id && git fetch origin pull/$id/head:pull-$id && git checkout pull-$id` Ask for pull request ID and checkout pull request

A bash vagy shell kódblokkok, amelyeket leírásként 2-es vagy magasabb címsor előz meg, szintén használhatók parancsrészletekhez. A címkék is támogatottak, ha a címsor és a kódblokk között vannak.

## Ezt egy "bash" kódblokk segítségével teheti meg

- ezt a szöveget figyelmen kívül hagyja
- de használhatók a címkék: #tag1 #tag2

```bash
echo csináld ezt
 echo tedd ezt
```


## Csinálj valami mást az "sh" kódblokk segítségével

```sh
echo csináljon valami mást
 visszhang csinál valami mást
```

A fenti példa két parancsrészletet eredményez, az első a két tag1 és tag2 címkével.

Használat

# Parancsrészletek keresése és végrehajtása
qc exec
# Parancsrészletek keresése és nyomtatása
qc keresés

Konfiguráció

Futtassa a qc configure parancsot.

[General]
  editor = "vim"            # kedvenc szövegszerkesztőd
  column = 40               # oszlopméret a lista parancshoz
  selectcmd = "fzf"         # választó parancs a szerkesztési parancshoz (fzf vagy peco)
  sortby = ""               # adja meg a kódrészletek rendezési módját (recency (alapértelmezett), -recency, description, -description, parancs, -command, output, -output)

[QOwnNotes]
  token = "MvTagHXF"        # your QOwnNotes API token
  websocket_port = 22222    # websocket port in QOwnNotes

Shell befejezése

A shell befejezési kódját a qc befejezés <shell> paranccsal állíthatja elő.

Például a Fish shell-hez használhatja:

qc befejezési hal > ~/.config/fish/completions/qc.fish
Prev
QOwnNotes Web Companion böngészőbővítmény
Next
QOwnNotes webalkalmazás