Skip to content

Instantly share code, notes, and snippets.

View Quorafind's full-sized avatar
💭
Working

Boninall Quorafind

💭
Working
View GitHub Profile
@Quorafind
Quorafind / main.go
Created October 28, 2024 01:19
Markdown To CSV
package main
import (
"bufio"
"encoding/csv"
"fmt"
"io"
"net/http"
"os"
"path/filepath"
@Quorafind
Quorafind / config.json
Created October 30, 2024 14:57
Duplicate any templates
{
"templates": [
{
"name": "Vue3 + TypeScript",
"path": "./templates/vue3-ts",
"description": "Vue 3 项目模板,使用 TypeScript",
"version": "1.0.0"
},
{
"name": "React + TypeScript",
@Quorafind
Quorafind / editableBlocks.js
Last active February 21, 2025 04:28
Toggle blocks in editor editable or readonly
module.exports = async params => {
// Get current active file view
const activeView = params.app.workspace.getActiveFileView()
if (!activeView) {
new Notice('No active file view found!')
return
}
// Toggle edit mode for all blocks