mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
docs: adding documentation and bumping version
This commit is contained in:
parent
774fc57249
commit
1ae1be87e1
7 changed files with 37 additions and 6 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# 0.27.0 (2025-02-17)
|
||||
- Better syntax highlighting! Now it highlights SQL query parts
|
||||
- Support for comments. You can now add comments like `--` and `/* */` to you queries
|
||||
|
||||
# 0.26.0 (2025-02-16)
|
||||
- Better language parser! Reworked from the ground up, now SQLSeal uses Ohm.js parser which works much better and opens much more possibilities (like syntax highlighting also introduced in this version).
|
||||
- Syntax highlighting! Your SQLSeal text is now being highlighted helping you spot potential syntax issues quickly. The highlighting will be iterated on so please join discussion on our Discord!
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ export default defineConfig({
|
|||
{ text: 'Demo Vault', link: '/demo-vault' },
|
||||
{ text: 'Changing Render Methods', link: '/changing-render-method'},
|
||||
{ text: 'Using properties', link: '/using-properties' },
|
||||
{ text: 'Comments', link: '/comments' },
|
||||
{ text: 'Query Vault Content', link: '/query-vault-content' },
|
||||
{ text: 'Query Markdown Tables', link: '/query-markdown-tables'},
|
||||
{ text: 'Inline codeblocks', link: '/inline-codeblocks' },
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ const stats = [
|
|||
icon: '📥'
|
||||
},
|
||||
{
|
||||
number: '39+',
|
||||
number: '48+',
|
||||
label: 'Releases',
|
||||
icon: '📦'
|
||||
},
|
||||
{
|
||||
number: '51+',
|
||||
number: '64+',
|
||||
label: 'GitHub Stars',
|
||||
icon: '⭐'
|
||||
},
|
||||
{
|
||||
number: '48+',
|
||||
number: '50+',
|
||||
label: 'Discord Members',
|
||||
icon: '🤝'
|
||||
}
|
||||
|
|
|
|||
25
docs/comments.md
Normal file
25
docs/comments.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Comments
|
||||
You can add comments to document your query. This can help you document your thought process and make it easier to share additional information when sharing your query with other. You can also use comments to disable (comment out) specific parts of your query you don't want to use at the moment but want to preserve for later.
|
||||
SQLSeal supports 2 types of comments:
|
||||
- SQL style `--` comment which comments everything until the end of the line
|
||||
- Block comment `/* */` which comments everything between opening `/*` mark and `*/` closing mark
|
||||
|
||||
|
||||
```sqlseal
|
||||
TABLE a = file(file.csv)
|
||||
-- TABLE b = file(file2.csv)
|
||||
|
||||
/*
|
||||
GRID
|
||||
NO REFRESH
|
||||
*/
|
||||
|
||||
SELECT *
|
||||
FROM a
|
||||
-- WHERE value > 5
|
||||
```
|
||||
|
||||
In the example above:
|
||||
- Table b is not being loaded - that line is commented out
|
||||
- GRID and NO REFRESH are disabled and will take no effect
|
||||
- `WHERE value > 5` is disabled - there will be no filtering
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "sqlseal",
|
||||
"name": "SQLSeal",
|
||||
"version": "0.26.0",
|
||||
"version": "0.27.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Use SQL in your notes to query your vault files and CSV content.",
|
||||
"author": "hypersphere",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "sqlseal",
|
||||
"version": "0.26.0",
|
||||
"version": "0.27.0",
|
||||
"description": "A plugin for Obsidian that allows you to run SQL queries on your notes.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -47,5 +47,6 @@
|
|||
"0.24.1": "0.15.0",
|
||||
"0.24.2": "0.15.0",
|
||||
"0.25.0": "0.15.0",
|
||||
"0.26.0": "0.15.0"
|
||||
"0.26.0": "0.15.0",
|
||||
"0.27.0": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue