Logseq file remove (repository divide)
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 168 KiB |
|
Before Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 43 KiB |
@ -1,26 +0,0 @@
|
|||||||
- Swift Arrow
|
|
||||||
- 너는 누구지? :->code::hello
|
|
||||||
id:: 683d7d8c-f684-4309-9eb7-d297f58c2cb5
|
|
||||||
- close:->hello
|
|
||||||
id:: 683d8268-ca86-4567-9619-7146b82d501c
|
|
||||||
- hello
|
|
||||||
collapsed:: true
|
|
||||||
- ceuak
|
|
||||||
- hello:->ceuak
|
|
||||||
id:: 683d81b8-6ce7-4576-9713-7e7db5b6fdc5
|
|
||||||
- ceuak!
|
|
||||||
collapsed:: true
|
|
||||||
- ceuak :<- dongsang
|
|
||||||
id:: 683d81be-fdc8-44d0-8110-d055e684370d
|
|
||||||
-
|
|
||||||
- card tag
|
|
||||||
- ceuak #card
|
|
||||||
id:: 683d82e5-9e7b-42f2-a227-f56429ab93f8
|
|
||||||
- ceuak1 #card
|
|
||||||
- dongsang
|
|
||||||
- ceauk2
|
|
||||||
- ceuak3
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
- 영어공부
|
|
||||||
- [[기초영어강의(성정혜)]]
|
|
||||||
-
|
|
||||||
- oo공부
|
|
||||||
@ -1 +0,0 @@
|
|||||||
-
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
-
|
|
||||||
-
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
- [[기초영어강의 1강]]
|
|
||||||
-
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
- 쇼핑목록
|
|
||||||
- 우유
|
|
||||||
- 계란
|
|
||||||
@ -1,422 +0,0 @@
|
|||||||
{:meta/version 1
|
|
||||||
|
|
||||||
;; Set the preferred format.
|
|
||||||
;; Available options:
|
|
||||||
;; - Markdown (default)
|
|
||||||
;; - Org
|
|
||||||
;; :preferred-format "Markdown"
|
|
||||||
|
|
||||||
;; Set the preferred workflow style.
|
|
||||||
;; Available options:
|
|
||||||
;; - :now for NOW/LATER style (default)
|
|
||||||
;; - :todo for TODO/DOING style
|
|
||||||
:preferred-workflow :now
|
|
||||||
|
|
||||||
;; Exclude directories/files.
|
|
||||||
;; Example usage:
|
|
||||||
;; :hidden ["/archived" "/test.md" "../assets/archived"]
|
|
||||||
:hidden []
|
|
||||||
|
|
||||||
;; Define the default journal page template.
|
|
||||||
;; Enter the template name between the quotes.
|
|
||||||
:default-templates
|
|
||||||
{:journals ""}
|
|
||||||
|
|
||||||
;; Set a custom date format for the journal page title.
|
|
||||||
;; Default value: "MMM do, yyyy"
|
|
||||||
;; e.g., "Jan 19th, 2038"
|
|
||||||
;; Example usage e.g., "Tue 19th, Jan 2038"
|
|
||||||
;; :journal/page-title-format "EEE do, MMM yyyy"
|
|
||||||
|
|
||||||
;; Specify the journal filename format using a valid date format string.
|
|
||||||
;; !Warning:
|
|
||||||
;; This configuration is not retroactive and affects only new journals.
|
|
||||||
;; To show old journal files in the app, manually rename the files in the
|
|
||||||
;; journal directory to match the new format.
|
|
||||||
;; Default value: "yyyy_MM_dd"
|
|
||||||
;; :journal/file-name-format "yyyy_MM_dd"
|
|
||||||
|
|
||||||
;; Enable tooltip preview on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/enable-tooltip? true
|
|
||||||
|
|
||||||
;; Display brackets [[]] around page references.
|
|
||||||
;; Default value: true
|
|
||||||
;; :ui/show-brackets? true
|
|
||||||
|
|
||||||
;; Display all lines of a block when referencing ((block)).
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-full-blocks? false
|
|
||||||
|
|
||||||
;; Automatically expand block references when zooming in.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/auto-expand-block-refs? true
|
|
||||||
|
|
||||||
;; Enable Block timestamps.
|
|
||||||
;; Default value: false
|
|
||||||
:feature/enable-block-timestamps? false
|
|
||||||
|
|
||||||
;; Disable accent marks when searching.
|
|
||||||
;; After changing this setting, rebuild the search index by pressing (^C ^S).
|
|
||||||
;; Default value: true
|
|
||||||
:feature/enable-search-remove-accents? true
|
|
||||||
|
|
||||||
;; Enable journals.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-journals? true
|
|
||||||
|
|
||||||
;; Enable flashcards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-flashcards? true
|
|
||||||
|
|
||||||
;; Enable whiteboards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-whiteboards? true
|
|
||||||
|
|
||||||
;; Disable the journal's built-in 'Scheduled tasks and deadlines' query.
|
|
||||||
;; Default value: false
|
|
||||||
;; :feature/disable-scheduled-and-deadline-query? false
|
|
||||||
|
|
||||||
;; Specify the number of days displayed in the future for
|
|
||||||
;; the 'scheduled tasks and deadlines' query.
|
|
||||||
;; Example usage:
|
|
||||||
;; Display all scheduled and deadline blocks for the next 14 days:
|
|
||||||
;; :scheduled/future-days 14
|
|
||||||
;; Default value: 7
|
|
||||||
;; :scheduled/future-days 7
|
|
||||||
|
|
||||||
;; Specify the first day of the week.
|
|
||||||
;; Available options:
|
|
||||||
;; - integer from 0 to 6 (Monday to Sunday)
|
|
||||||
;; Default value: 6 (Sunday)
|
|
||||||
:start-of-week 6
|
|
||||||
|
|
||||||
;; Specify a custom CSS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.css` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"
|
|
||||||
|
|
||||||
;; Specify a custom JS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.js` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-js-url "https://cdn.logseq.com/custom.js"
|
|
||||||
|
|
||||||
;; Set a custom Arweave gateway
|
|
||||||
;; Default gateway: https://arweave.net
|
|
||||||
;; :arweave/gateway "https://arweave.net"
|
|
||||||
|
|
||||||
;; Set bullet indentation when exporting
|
|
||||||
;; Available options:
|
|
||||||
;; - `:eight-spaces` as eight spaces
|
|
||||||
;; - `:four-spaces` as four spaces
|
|
||||||
;; - `:two-spaces` as two spaces
|
|
||||||
;; - `:tab` as a tab character (default)
|
|
||||||
;; :export/bullet-indentation :tab
|
|
||||||
|
|
||||||
;; Publish all pages within the Graph
|
|
||||||
;; Regardless of whether individual pages have been marked as public.
|
|
||||||
;; Default value: false
|
|
||||||
;; :publishing/all-pages-public? false
|
|
||||||
|
|
||||||
;; Define the default home page and sidebar status.
|
|
||||||
;; If unspecified, the journal page will be loaded on startup and the right sidebar will stay hidden.
|
|
||||||
;; The `:page` value represents the name of the page displayed at startup.
|
|
||||||
;; Available options for `:sidebar` are:
|
|
||||||
;; - "Contents" to display the Contents page in the right sidebar.
|
|
||||||
;; - A specific page name to display in the right sidebar.
|
|
||||||
;; - An array of multiple pages, e.g., ["Contents" "Page A" "Page B"].
|
|
||||||
;; If `:sidebar` remains unset, the right sidebar will stay hidden.
|
|
||||||
;; Examples:
|
|
||||||
;; 1. Set "Changelog" as the home page and display "Contents" in the right sidebar:
|
|
||||||
;; :default-home {:page "Changelog", :sidebar "Contents"}
|
|
||||||
;; 2. Set "Jun 3rd, 2021" as the home page without the right sidebar:
|
|
||||||
;; :default-home {:page "Jun 3rd, 2021"}
|
|
||||||
;; 3. Set "home" as the home page and display multiple pages in the right sidebar:
|
|
||||||
;; :default-home {:page "home", :sidebar ["Page A" "Page B"]}
|
|
||||||
|
|
||||||
;; Set the default location for storing notes.
|
|
||||||
;; Default value: "pages"
|
|
||||||
;; :pages-directory "pages"
|
|
||||||
|
|
||||||
;; Set the default location for storing journals.
|
|
||||||
;; Default value: "journals"
|
|
||||||
;; :journals-directory "journals"
|
|
||||||
|
|
||||||
;; Set the default location for storing whiteboards.
|
|
||||||
;; Default value: "whiteboards"
|
|
||||||
;; :whiteboards-directory "whiteboards"
|
|
||||||
|
|
||||||
;; Enabling this option converts
|
|
||||||
;; [[Grant Ideas]] to [[file:./grant_ideas.org][Grant Ideas]] for org-mode.
|
|
||||||
;; For more information, visit https://github.com/logseq/logseq/issues/672
|
|
||||||
;; :org-mode/insert-file-link? false
|
|
||||||
|
|
||||||
;; Configure custom shortcuts.
|
|
||||||
;; Syntax:
|
|
||||||
;; 1. + indicates simultaneous key presses, e.g., `Ctrl+Shift+a`.
|
|
||||||
;; 2. A space between keys represents key chords, e.g., `t s` means
|
|
||||||
;; pressing `t` followed by `s`.
|
|
||||||
;; 3. mod refers to `Ctrl` for Windows/Linux and `Command` for Mac.
|
|
||||||
;; 4. Use false to disable a specific shortcut.
|
|
||||||
;; 5. You can define multiple bindings for a single action, e.g., ["ctrl+j" "down"].
|
|
||||||
;; The full list of configurable shortcuts is available at:
|
|
||||||
;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
|
|
||||||
;; Example:
|
|
||||||
;; :shortcuts
|
|
||||||
;; {:editor/new-block "enter"
|
|
||||||
;; :editor/new-line "shift+enter"
|
|
||||||
;; :editor/insert-link "mod+shift+k"
|
|
||||||
;; :editor/highlight false
|
|
||||||
;; :ui/toggle-settings "t s"
|
|
||||||
;; :editor/up ["ctrl+k" "up"]
|
|
||||||
;; :editor/down ["ctrl+j" "down"]
|
|
||||||
;; :editor/left ["ctrl+h" "left"]
|
|
||||||
;; :editor/right ["ctrl+l" "right"]}
|
|
||||||
:shortcuts {}
|
|
||||||
|
|
||||||
;; Configure the behavior of pressing Enter in document mode.
|
|
||||||
;; if set to true, pressing Enter will create a new block.
|
|
||||||
;; Default value: false
|
|
||||||
:shortcut/doc-mode-enter-for-new-block? false
|
|
||||||
|
|
||||||
;; Block content larger than `block/content-max-length` will not be searchable
|
|
||||||
;; or editable for performance.
|
|
||||||
;; Default value: 10000
|
|
||||||
:block/content-max-length 10000
|
|
||||||
|
|
||||||
;; Display command documentation on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/show-command-doc? true
|
|
||||||
|
|
||||||
;; Display empty bullet points.
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-empty-bullets? false
|
|
||||||
|
|
||||||
;; Pre-defined :view function to use with advanced queries.
|
|
||||||
:query/views
|
|
||||||
{:pprint
|
|
||||||
(fn [r] [:pre.code (pprint r)])}
|
|
||||||
|
|
||||||
;; Advanced queries `:result-transform` function.
|
|
||||||
;; Transform the query result before displaying it.
|
|
||||||
:query/result-transforms
|
|
||||||
{:sort-by-priority
|
|
||||||
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
|
|
||||||
|
|
||||||
;; The following queries will be displayed at the bottom of today's journal page.
|
|
||||||
;; The "NOW" query returns tasks with "NOW" or "DOING" status.
|
|
||||||
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
|
|
||||||
:default-queries
|
|
||||||
{:journals
|
|
||||||
[{:title "🔨 NOW"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?today
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "DOING"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(>= ?d ?start)]
|
|
||||||
[(<= ?d ?today)]]
|
|
||||||
:inputs [:14d :today]
|
|
||||||
:result-transform (fn [result]
|
|
||||||
(sort-by (fn [h]
|
|
||||||
(get h :block/priority "Z")) result))
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}
|
|
||||||
{:title "📅 NEXT"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?next
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "LATER" "TODO"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(> ?d ?start)]
|
|
||||||
[(< ?d ?next)]]
|
|
||||||
:inputs [:today :7d-after]
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}]}
|
|
||||||
|
|
||||||
;; Add custom commands to the command palette
|
|
||||||
;; Example usage:
|
|
||||||
;; :commands
|
|
||||||
;; [
|
|
||||||
;; ["js" "Javascript"]
|
|
||||||
;; ["md" "Markdown"]
|
|
||||||
;; ]
|
|
||||||
:commands []
|
|
||||||
|
|
||||||
;; Enable collapsing blocks with titles but no children.
|
|
||||||
;; By default, only blocks with children can be collapsed.
|
|
||||||
;; Setting `:outliner/block-title-collapse-enabled?` to true allows collapsing
|
|
||||||
;; blocks with titles (multiple lines) and content. For example:
|
|
||||||
;; - block title
|
|
||||||
;; block content
|
|
||||||
;; Default value: false
|
|
||||||
:outliner/block-title-collapse-enabled? false
|
|
||||||
|
|
||||||
;; Macros replace texts and will make you more productive.
|
|
||||||
;; Example usage:
|
|
||||||
;; Change the :macros value below to:
|
|
||||||
;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
|
|
||||||
;; input "{{poem red,blue}}"
|
|
||||||
;; becomes
|
|
||||||
;; Rose is red, violet's blue. Life's ordered: Org assists you.
|
|
||||||
:macros {}
|
|
||||||
|
|
||||||
;; Configure the default expansion level for linked references.
|
|
||||||
;; For example, consider the following block hierarchy:
|
|
||||||
;; - a [[page]] (level 1)
|
|
||||||
;; - b (level 2)
|
|
||||||
;; - c (level 3)
|
|
||||||
;; - d (level 4)
|
|
||||||
;;
|
|
||||||
;; With the default value of level 2, block b will be collapsed.
|
|
||||||
;; If the level's value is set to 3, block c will be collapsed.
|
|
||||||
;; Default value: 2
|
|
||||||
:ref/default-open-blocks-level 2
|
|
||||||
|
|
||||||
;; Configure the threshold for linked references before collapsing.
|
|
||||||
;; Default value: 100
|
|
||||||
:ref/linked-references-collapsed-threshold 50
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/settings
|
|
||||||
;; {:orphan-pages? true ; Default value: true
|
|
||||||
;; :builtin-pages? false ; Default value: false
|
|
||||||
;; :excluded-pages? false ; Default value: false
|
|
||||||
;; :journal? false} ; Default value: false
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/forcesettings
|
|
||||||
;; {:link-dist 180 ; Default value: 180
|
|
||||||
;; :charge-strength -600 ; Default value: -600
|
|
||||||
;; :charge-range 600} ; Default value: 600
|
|
||||||
|
|
||||||
;; Favorites to list on the left sidebar
|
|
||||||
:favorites ["Index Page"]
|
|
||||||
|
|
||||||
;; Set flashcards interval.
|
|
||||||
;; Expected value:
|
|
||||||
;; - Float between 0 and 1
|
|
||||||
;; higher values result in faster changes to the next review interval.
|
|
||||||
;; Default value: 0.5
|
|
||||||
;; :srs/learning-fraction 0.5
|
|
||||||
|
|
||||||
;; Set the initial interval after the first successful review of a card.
|
|
||||||
;; Default value: 4
|
|
||||||
;; :srs/initial-interval 4
|
|
||||||
|
|
||||||
;; Hide specific block properties.
|
|
||||||
;; Example usage:
|
|
||||||
;; :block-hidden-properties #{:public :icon}
|
|
||||||
|
|
||||||
;; Create a page for all properties.
|
|
||||||
;; Default value: true
|
|
||||||
:property-pages/enabled? true
|
|
||||||
|
|
||||||
;; Properties to exclude from having property pages
|
|
||||||
;; Example usage:
|
|
||||||
;; :property-pages/excludelist #{:duration :author}
|
|
||||||
|
|
||||||
;; By default, property value separated by commas will not be treated as
|
|
||||||
;; page references. You can add properties to enable it.
|
|
||||||
;; Example usage:
|
|
||||||
;; :property/separated-by-commas #{:alias :tags}
|
|
||||||
|
|
||||||
;; Properties that are ignored when parsing property values for references
|
|
||||||
;; Example usage:
|
|
||||||
;; :ignored-page-references-keywords #{:author :website}
|
|
||||||
|
|
||||||
;; logbook configuration.
|
|
||||||
;; :logbook/settings
|
|
||||||
;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
|
|
||||||
;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
|
|
||||||
;; :enabled-in-timestamped-blocks false ;don't display logbook at all
|
|
||||||
;; }
|
|
||||||
|
|
||||||
;; Mobile photo upload configuration.
|
|
||||||
;; :mobile/photo
|
|
||||||
;; {:allow-editing? true
|
|
||||||
;; :quality 80}
|
|
||||||
|
|
||||||
;; Mobile features options
|
|
||||||
;; Gestures
|
|
||||||
;; Example usage:
|
|
||||||
;; :mobile
|
|
||||||
;; {:gestures/disabled-in-block-with-tags ["kanban"]}
|
|
||||||
|
|
||||||
;; Extra CodeMirror options
|
|
||||||
;; See https://codemirror.net/5/doc/manual.html#config for possible options
|
|
||||||
;; Example usage:
|
|
||||||
;; :editor/extra-codemirror-options
|
|
||||||
;; {:lineWrapping false ; Default value: false
|
|
||||||
;; :lineNumbers true ; Default value: true
|
|
||||||
;; :readOnly false} ; Default value: false
|
|
||||||
|
|
||||||
;; Enable logical outdenting
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/logical-outdenting? false
|
|
||||||
|
|
||||||
;; Prefer pasting the file when text and a file are in the clipboard.
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/preferred-pasting-file? false
|
|
||||||
|
|
||||||
;; Quick capture templates for receiving content from other apps.
|
|
||||||
;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
|
|
||||||
;; by receiving content from other apps. Note: the {} cannot be omitted.
|
|
||||||
;; - {time}: capture time
|
|
||||||
;; - {date}: capture date using current date format, use `[[{date}]]` to get a page reference
|
|
||||||
;; - {text}: text that users selected before sharing.
|
|
||||||
;; - {url}: URL or assets path for media files stored in Logseq.
|
|
||||||
;; You can also reorder them or use only one or two of them in the template.
|
|
||||||
;; You can also insert or format any text in the template, as shown in the following examples.
|
|
||||||
;; :quick-capture-templates
|
|
||||||
;; {:text "[[quick capture]] **{time}**: {text} from {url}"
|
|
||||||
;; :media "[[quick capture]] **{time}**: {url}"}
|
|
||||||
|
|
||||||
;; Quick capture options.
|
|
||||||
;; - insert-today? Insert the capture at the end of today's journal page (boolean).
|
|
||||||
;; - redirect-page? Redirect to the quick capture page after capturing (boolean).
|
|
||||||
;; - default-page The default page to capture to if insert-today? is false (string).
|
|
||||||
;; :quick-capture-options
|
|
||||||
;; {:insert-today? false ;; Default value: true
|
|
||||||
;; :redirect-page? false ;; Default value: false
|
|
||||||
;; :default-page "quick capture"} ;; Default page: "quick capture"
|
|
||||||
|
|
||||||
;; File sync options
|
|
||||||
;; Ignore these files when syncing, regexp is supported.
|
|
||||||
;; :file-sync/ignore-files []
|
|
||||||
|
|
||||||
;; Configure the Enter key behavior for
|
|
||||||
;; context-aware editing with DWIM (Do What I Mean).
|
|
||||||
;; context-aware Enter key behavior implies that pressing Enter will
|
|
||||||
;; have different outcomes based on the context.
|
|
||||||
;; For instance, pressing Enter within a list generates a new list item,
|
|
||||||
;; whereas pressing Enter in a block reference opens the referenced block.
|
|
||||||
;; :dwim/settings
|
|
||||||
;; {:admonition&src? true ;; Default value: true
|
|
||||||
;; :markup? false ;; Default value: false
|
|
||||||
;; :block-ref? true ;; Default value: true
|
|
||||||
;; :page-ref? true ;; Default value: true
|
|
||||||
;; :properties? true ;; Default value: true
|
|
||||||
;; :list? false} ;; Default value: false
|
|
||||||
|
|
||||||
;; Configure the escaping method for special characters in page titles.
|
|
||||||
;; Warning:
|
|
||||||
;; This is a dangerous operation. To modify the setting,
|
|
||||||
;; access the 'Filename format' setting and follow the instructions.
|
|
||||||
;; Otherwise, You may need to manually rename all affected files and
|
|
||||||
;; re-index them on all clients after synchronization.
|
|
||||||
;; Incorrect handling may result in messy page titles.
|
|
||||||
;; Available options:
|
|
||||||
;; - :triple-lowbar (default)
|
|
||||||
;; ;use triple underscore `___` for slash `/` in page title
|
|
||||||
;; ;use Percent-encoding for other invalid characters
|
|
||||||
:file/name-format :triple-lowbar
|
|
||||||
:journal/page-title-format "yyyy-MM-dd EEEE"}
|
|
||||||
@ -1,422 +0,0 @@
|
|||||||
{:meta/version 1
|
|
||||||
|
|
||||||
;; Set the preferred format.
|
|
||||||
;; Available options:
|
|
||||||
;; - Markdown (default)
|
|
||||||
;; - Org
|
|
||||||
;; :preferred-format "Markdown"
|
|
||||||
|
|
||||||
;; Set the preferred workflow style.
|
|
||||||
;; Available options:
|
|
||||||
;; - :now for NOW/LATER style (default)
|
|
||||||
;; - :todo for TODO/DOING style
|
|
||||||
:preferred-workflow :now
|
|
||||||
|
|
||||||
;; Exclude directories/files.
|
|
||||||
;; Example usage:
|
|
||||||
;; :hidden ["/archived" "/test.md" "../assets/archived"]
|
|
||||||
:hidden []
|
|
||||||
|
|
||||||
;; Define the default journal page template.
|
|
||||||
;; Enter the template name between the quotes.
|
|
||||||
:default-templates
|
|
||||||
{:journals ""}
|
|
||||||
|
|
||||||
;; Set a custom date format for the journal page title.
|
|
||||||
;; Default value: "MMM do, yyyy"
|
|
||||||
;; e.g., "Jan 19th, 2038"
|
|
||||||
;; Example usage e.g., "Tue 19th, Jan 2038"
|
|
||||||
;; :journal/page-title-format "EEE do, MMM yyyy"
|
|
||||||
|
|
||||||
;; Specify the journal filename format using a valid date format string.
|
|
||||||
;; !Warning:
|
|
||||||
;; This configuration is not retroactive and affects only new journals.
|
|
||||||
;; To show old journal files in the app, manually rename the files in the
|
|
||||||
;; journal directory to match the new format.
|
|
||||||
;; Default value: "yyyy_MM_dd"
|
|
||||||
;; :journal/file-name-format "yyyy_MM_dd"
|
|
||||||
|
|
||||||
;; Enable tooltip preview on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/enable-tooltip? true
|
|
||||||
|
|
||||||
;; Display brackets [[]] around page references.
|
|
||||||
;; Default value: true
|
|
||||||
;; :ui/show-brackets? true
|
|
||||||
|
|
||||||
;; Display all lines of a block when referencing ((block)).
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-full-blocks? false
|
|
||||||
|
|
||||||
;; Automatically expand block references when zooming in.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/auto-expand-block-refs? true
|
|
||||||
|
|
||||||
;; Enable Block timestamps.
|
|
||||||
;; Default value: false
|
|
||||||
:feature/enable-block-timestamps? false
|
|
||||||
|
|
||||||
;; Disable accent marks when searching.
|
|
||||||
;; After changing this setting, rebuild the search index by pressing (^C ^S).
|
|
||||||
;; Default value: true
|
|
||||||
:feature/enable-search-remove-accents? true
|
|
||||||
|
|
||||||
;; Enable journals.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-journals? true
|
|
||||||
|
|
||||||
;; Enable flashcards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-flashcards? true
|
|
||||||
|
|
||||||
;; Enable whiteboards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-whiteboards? true
|
|
||||||
|
|
||||||
;; Disable the journal's built-in 'Scheduled tasks and deadlines' query.
|
|
||||||
;; Default value: false
|
|
||||||
;; :feature/disable-scheduled-and-deadline-query? false
|
|
||||||
|
|
||||||
;; Specify the number of days displayed in the future for
|
|
||||||
;; the 'scheduled tasks and deadlines' query.
|
|
||||||
;; Example usage:
|
|
||||||
;; Display all scheduled and deadline blocks for the next 14 days:
|
|
||||||
;; :scheduled/future-days 14
|
|
||||||
;; Default value: 7
|
|
||||||
;; :scheduled/future-days 7
|
|
||||||
|
|
||||||
;; Specify the first day of the week.
|
|
||||||
;; Available options:
|
|
||||||
;; - integer from 0 to 6 (Monday to Sunday)
|
|
||||||
;; Default value: 6 (Sunday)
|
|
||||||
:start-of-week 6
|
|
||||||
|
|
||||||
;; Specify a custom CSS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.css` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"
|
|
||||||
|
|
||||||
;; Specify a custom JS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.js` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-js-url "https://cdn.logseq.com/custom.js"
|
|
||||||
|
|
||||||
;; Set a custom Arweave gateway
|
|
||||||
;; Default gateway: https://arweave.net
|
|
||||||
;; :arweave/gateway "https://arweave.net"
|
|
||||||
|
|
||||||
;; Set bullet indentation when exporting
|
|
||||||
;; Available options:
|
|
||||||
;; - `:eight-spaces` as eight spaces
|
|
||||||
;; - `:four-spaces` as four spaces
|
|
||||||
;; - `:two-spaces` as two spaces
|
|
||||||
;; - `:tab` as a tab character (default)
|
|
||||||
;; :export/bullet-indentation :tab
|
|
||||||
|
|
||||||
;; Publish all pages within the Graph
|
|
||||||
;; Regardless of whether individual pages have been marked as public.
|
|
||||||
;; Default value: false
|
|
||||||
;; :publishing/all-pages-public? false
|
|
||||||
|
|
||||||
;; Define the default home page and sidebar status.
|
|
||||||
;; If unspecified, the journal page will be loaded on startup and the right sidebar will stay hidden.
|
|
||||||
;; The `:page` value represents the name of the page displayed at startup.
|
|
||||||
;; Available options for `:sidebar` are:
|
|
||||||
;; - "Contents" to display the Contents page in the right sidebar.
|
|
||||||
;; - A specific page name to display in the right sidebar.
|
|
||||||
;; - An array of multiple pages, e.g., ["Contents" "Page A" "Page B"].
|
|
||||||
;; If `:sidebar` remains unset, the right sidebar will stay hidden.
|
|
||||||
;; Examples:
|
|
||||||
;; 1. Set "Changelog" as the home page and display "Contents" in the right sidebar:
|
|
||||||
;; :default-home {:page "Changelog", :sidebar "Contents"}
|
|
||||||
;; 2. Set "Jun 3rd, 2021" as the home page without the right sidebar:
|
|
||||||
;; :default-home {:page "Jun 3rd, 2021"}
|
|
||||||
;; 3. Set "home" as the home page and display multiple pages in the right sidebar:
|
|
||||||
;; :default-home {:page "home", :sidebar ["Page A" "Page B"]}
|
|
||||||
|
|
||||||
;; Set the default location for storing notes.
|
|
||||||
;; Default value: "pages"
|
|
||||||
;; :pages-directory "pages"
|
|
||||||
|
|
||||||
;; Set the default location for storing journals.
|
|
||||||
;; Default value: "journals"
|
|
||||||
;; :journals-directory "journals"
|
|
||||||
|
|
||||||
;; Set the default location for storing whiteboards.
|
|
||||||
;; Default value: "whiteboards"
|
|
||||||
;; :whiteboards-directory "whiteboards"
|
|
||||||
|
|
||||||
;; Enabling this option converts
|
|
||||||
;; [[Grant Ideas]] to [[file:./grant_ideas.org][Grant Ideas]] for org-mode.
|
|
||||||
;; For more information, visit https://github.com/logseq/logseq/issues/672
|
|
||||||
;; :org-mode/insert-file-link? false
|
|
||||||
|
|
||||||
;; Configure custom shortcuts.
|
|
||||||
;; Syntax:
|
|
||||||
;; 1. + indicates simultaneous key presses, e.g., `Ctrl+Shift+a`.
|
|
||||||
;; 2. A space between keys represents key chords, e.g., `t s` means
|
|
||||||
;; pressing `t` followed by `s`.
|
|
||||||
;; 3. mod refers to `Ctrl` for Windows/Linux and `Command` for Mac.
|
|
||||||
;; 4. Use false to disable a specific shortcut.
|
|
||||||
;; 5. You can define multiple bindings for a single action, e.g., ["ctrl+j" "down"].
|
|
||||||
;; The full list of configurable shortcuts is available at:
|
|
||||||
;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
|
|
||||||
;; Example:
|
|
||||||
;; :shortcuts
|
|
||||||
;; {:editor/new-block "enter"
|
|
||||||
;; :editor/new-line "shift+enter"
|
|
||||||
;; :editor/insert-link "mod+shift+k"
|
|
||||||
;; :editor/highlight false
|
|
||||||
;; :ui/toggle-settings "t s"
|
|
||||||
;; :editor/up ["ctrl+k" "up"]
|
|
||||||
;; :editor/down ["ctrl+j" "down"]
|
|
||||||
;; :editor/left ["ctrl+h" "left"]
|
|
||||||
;; :editor/right ["ctrl+l" "right"]}
|
|
||||||
:shortcuts {}
|
|
||||||
|
|
||||||
;; Configure the behavior of pressing Enter in document mode.
|
|
||||||
;; if set to true, pressing Enter will create a new block.
|
|
||||||
;; Default value: false
|
|
||||||
:shortcut/doc-mode-enter-for-new-block? false
|
|
||||||
|
|
||||||
;; Block content larger than `block/content-max-length` will not be searchable
|
|
||||||
;; or editable for performance.
|
|
||||||
;; Default value: 10000
|
|
||||||
:block/content-max-length 10000
|
|
||||||
|
|
||||||
;; Display command documentation on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/show-command-doc? true
|
|
||||||
|
|
||||||
;; Display empty bullet points.
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-empty-bullets? false
|
|
||||||
|
|
||||||
;; Pre-defined :view function to use with advanced queries.
|
|
||||||
:query/views
|
|
||||||
{:pprint
|
|
||||||
(fn [r] [:pre.code (pprint r)])}
|
|
||||||
|
|
||||||
;; Advanced queries `:result-transform` function.
|
|
||||||
;; Transform the query result before displaying it.
|
|
||||||
:query/result-transforms
|
|
||||||
{:sort-by-priority
|
|
||||||
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
|
|
||||||
|
|
||||||
;; The following queries will be displayed at the bottom of today's journal page.
|
|
||||||
;; The "NOW" query returns tasks with "NOW" or "DOING" status.
|
|
||||||
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
|
|
||||||
:default-queries
|
|
||||||
{:journals
|
|
||||||
[{:title "🔨 NOW"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?today
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "DOING"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(>= ?d ?start)]
|
|
||||||
[(<= ?d ?today)]]
|
|
||||||
:inputs [:14d :today]
|
|
||||||
:result-transform (fn [result]
|
|
||||||
(sort-by (fn [h]
|
|
||||||
(get h :block/priority "Z")) result))
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}
|
|
||||||
{:title "📅 NEXT"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?next
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "LATER" "TODO"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(> ?d ?start)]
|
|
||||||
[(< ?d ?next)]]
|
|
||||||
:inputs [:today :7d-after]
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}]}
|
|
||||||
|
|
||||||
;; Add custom commands to the command palette
|
|
||||||
;; Example usage:
|
|
||||||
;; :commands
|
|
||||||
;; [
|
|
||||||
;; ["js" "Javascript"]
|
|
||||||
;; ["md" "Markdown"]
|
|
||||||
;; ]
|
|
||||||
:commands []
|
|
||||||
|
|
||||||
;; Enable collapsing blocks with titles but no children.
|
|
||||||
;; By default, only blocks with children can be collapsed.
|
|
||||||
;; Setting `:outliner/block-title-collapse-enabled?` to true allows collapsing
|
|
||||||
;; blocks with titles (multiple lines) and content. For example:
|
|
||||||
;; - block title
|
|
||||||
;; block content
|
|
||||||
;; Default value: false
|
|
||||||
:outliner/block-title-collapse-enabled? false
|
|
||||||
|
|
||||||
;; Macros replace texts and will make you more productive.
|
|
||||||
;; Example usage:
|
|
||||||
;; Change the :macros value below to:
|
|
||||||
;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
|
|
||||||
;; input "{{poem red,blue}}"
|
|
||||||
;; becomes
|
|
||||||
;; Rose is red, violet's blue. Life's ordered: Org assists you.
|
|
||||||
:macros {}
|
|
||||||
|
|
||||||
;; Configure the default expansion level for linked references.
|
|
||||||
;; For example, consider the following block hierarchy:
|
|
||||||
;; - a [[page]] (level 1)
|
|
||||||
;; - b (level 2)
|
|
||||||
;; - c (level 3)
|
|
||||||
;; - d (level 4)
|
|
||||||
;;
|
|
||||||
;; With the default value of level 2, block b will be collapsed.
|
|
||||||
;; If the level's value is set to 3, block c will be collapsed.
|
|
||||||
;; Default value: 2
|
|
||||||
:ref/default-open-blocks-level 2
|
|
||||||
|
|
||||||
;; Configure the threshold for linked references before collapsing.
|
|
||||||
;; Default value: 100
|
|
||||||
:ref/linked-references-collapsed-threshold 50
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/settings
|
|
||||||
;; {:orphan-pages? true ; Default value: true
|
|
||||||
;; :builtin-pages? false ; Default value: false
|
|
||||||
;; :excluded-pages? false ; Default value: false
|
|
||||||
;; :journal? false} ; Default value: false
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/forcesettings
|
|
||||||
;; {:link-dist 180 ; Default value: 180
|
|
||||||
;; :charge-strength -600 ; Default value: -600
|
|
||||||
;; :charge-range 600} ; Default value: 600
|
|
||||||
|
|
||||||
;; Favorites to list on the left sidebar
|
|
||||||
:favorites ["Index"]
|
|
||||||
|
|
||||||
;; Set flashcards interval.
|
|
||||||
;; Expected value:
|
|
||||||
;; - Float between 0 and 1
|
|
||||||
;; higher values result in faster changes to the next review interval.
|
|
||||||
;; Default value: 0.5
|
|
||||||
;; :srs/learning-fraction 0.5
|
|
||||||
|
|
||||||
;; Set the initial interval after the first successful review of a card.
|
|
||||||
;; Default value: 4
|
|
||||||
;; :srs/initial-interval 4
|
|
||||||
|
|
||||||
;; Hide specific block properties.
|
|
||||||
;; Example usage:
|
|
||||||
;; :block-hidden-properties #{:public :icon}
|
|
||||||
|
|
||||||
;; Create a page for all properties.
|
|
||||||
;; Default value: true
|
|
||||||
:property-pages/enabled? true
|
|
||||||
|
|
||||||
;; Properties to exclude from having property pages
|
|
||||||
;; Example usage:
|
|
||||||
;; :property-pages/excludelist #{:duration :author}
|
|
||||||
|
|
||||||
;; By default, property value separated by commas will not be treated as
|
|
||||||
;; page references. You can add properties to enable it.
|
|
||||||
;; Example usage:
|
|
||||||
;; :property/separated-by-commas #{:alias :tags}
|
|
||||||
|
|
||||||
;; Properties that are ignored when parsing property values for references
|
|
||||||
;; Example usage:
|
|
||||||
;; :ignored-page-references-keywords #{:author :website}
|
|
||||||
|
|
||||||
;; logbook configuration.
|
|
||||||
;; :logbook/settings
|
|
||||||
;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
|
|
||||||
;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
|
|
||||||
;; :enabled-in-timestamped-blocks false ;don't display logbook at all
|
|
||||||
;; }
|
|
||||||
|
|
||||||
;; Mobile photo upload configuration.
|
|
||||||
;; :mobile/photo
|
|
||||||
;; {:allow-editing? true
|
|
||||||
;; :quality 80}
|
|
||||||
|
|
||||||
;; Mobile features options
|
|
||||||
;; Gestures
|
|
||||||
;; Example usage:
|
|
||||||
;; :mobile
|
|
||||||
;; {:gestures/disabled-in-block-with-tags ["kanban"]}
|
|
||||||
|
|
||||||
;; Extra CodeMirror options
|
|
||||||
;; See https://codemirror.net/5/doc/manual.html#config for possible options
|
|
||||||
;; Example usage:
|
|
||||||
;; :editor/extra-codemirror-options
|
|
||||||
;; {:lineWrapping false ; Default value: false
|
|
||||||
;; :lineNumbers true ; Default value: true
|
|
||||||
;; :readOnly false} ; Default value: false
|
|
||||||
|
|
||||||
;; Enable logical outdenting
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/logical-outdenting? false
|
|
||||||
|
|
||||||
;; Prefer pasting the file when text and a file are in the clipboard.
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/preferred-pasting-file? false
|
|
||||||
|
|
||||||
;; Quick capture templates for receiving content from other apps.
|
|
||||||
;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
|
|
||||||
;; by receiving content from other apps. Note: the {} cannot be omitted.
|
|
||||||
;; - {time}: capture time
|
|
||||||
;; - {date}: capture date using current date format, use `[[{date}]]` to get a page reference
|
|
||||||
;; - {text}: text that users selected before sharing.
|
|
||||||
;; - {url}: URL or assets path for media files stored in Logseq.
|
|
||||||
;; You can also reorder them or use only one or two of them in the template.
|
|
||||||
;; You can also insert or format any text in the template, as shown in the following examples.
|
|
||||||
;; :quick-capture-templates
|
|
||||||
;; {:text "[[quick capture]] **{time}**: {text} from {url}"
|
|
||||||
;; :media "[[quick capture]] **{time}**: {url}"}
|
|
||||||
|
|
||||||
;; Quick capture options.
|
|
||||||
;; - insert-today? Insert the capture at the end of today's journal page (boolean).
|
|
||||||
;; - redirect-page? Redirect to the quick capture page after capturing (boolean).
|
|
||||||
;; - default-page The default page to capture to if insert-today? is false (string).
|
|
||||||
;; :quick-capture-options
|
|
||||||
;; {:insert-today? false ;; Default value: true
|
|
||||||
;; :redirect-page? false ;; Default value: false
|
|
||||||
;; :default-page "quick capture"} ;; Default page: "quick capture"
|
|
||||||
|
|
||||||
;; File sync options
|
|
||||||
;; Ignore these files when syncing, regexp is supported.
|
|
||||||
;; :file-sync/ignore-files []
|
|
||||||
|
|
||||||
;; Configure the Enter key behavior for
|
|
||||||
;; context-aware editing with DWIM (Do What I Mean).
|
|
||||||
;; context-aware Enter key behavior implies that pressing Enter will
|
|
||||||
;; have different outcomes based on the context.
|
|
||||||
;; For instance, pressing Enter within a list generates a new list item,
|
|
||||||
;; whereas pressing Enter in a block reference opens the referenced block.
|
|
||||||
;; :dwim/settings
|
|
||||||
;; {:admonition&src? true ;; Default value: true
|
|
||||||
;; :markup? false ;; Default value: false
|
|
||||||
;; :block-ref? true ;; Default value: true
|
|
||||||
;; :page-ref? true ;; Default value: true
|
|
||||||
;; :properties? true ;; Default value: true
|
|
||||||
;; :list? false} ;; Default value: false
|
|
||||||
|
|
||||||
;; Configure the escaping method for special characters in page titles.
|
|
||||||
;; Warning:
|
|
||||||
;; This is a dangerous operation. To modify the setting,
|
|
||||||
;; access the 'Filename format' setting and follow the instructions.
|
|
||||||
;; Otherwise, You may need to manually rename all affected files and
|
|
||||||
;; re-index them on all clients after synchronization.
|
|
||||||
;; Incorrect handling may result in messy page titles.
|
|
||||||
;; Available options:
|
|
||||||
;; - :triple-lowbar (default)
|
|
||||||
;; ;use triple underscore `___` for slash `/` in page title
|
|
||||||
;; ;use Percent-encoding for other invalid characters
|
|
||||||
:file/name-format :triple-lowbar
|
|
||||||
:journal/page-title-format "yyyy-MM-dd EEEE"}
|
|
||||||
@ -1,422 +0,0 @@
|
|||||||
{:meta/version 1
|
|
||||||
|
|
||||||
;; Set the preferred format.
|
|
||||||
;; Available options:
|
|
||||||
;; - Markdown (default)
|
|
||||||
;; - Org
|
|
||||||
;; :preferred-format "Markdown"
|
|
||||||
|
|
||||||
;; Set the preferred workflow style.
|
|
||||||
;; Available options:
|
|
||||||
;; - :now for NOW/LATER style (default)
|
|
||||||
;; - :todo for TODO/DOING style
|
|
||||||
:preferred-workflow :now
|
|
||||||
|
|
||||||
;; Exclude directories/files.
|
|
||||||
;; Example usage:
|
|
||||||
;; :hidden ["/archived" "/test.md" "../assets/archived"]
|
|
||||||
:hidden []
|
|
||||||
|
|
||||||
;; Define the default journal page template.
|
|
||||||
;; Enter the template name between the quotes.
|
|
||||||
:default-templates
|
|
||||||
{:journals ""}
|
|
||||||
|
|
||||||
;; Set a custom date format for the journal page title.
|
|
||||||
;; Default value: "MMM do, yyyy"
|
|
||||||
;; e.g., "Jan 19th, 2038"
|
|
||||||
;; Example usage e.g., "Tue 19th, Jan 2038"
|
|
||||||
;; :journal/page-title-format "EEE do, MMM yyyy"
|
|
||||||
|
|
||||||
;; Specify the journal filename format using a valid date format string.
|
|
||||||
;; !Warning:
|
|
||||||
;; This configuration is not retroactive and affects only new journals.
|
|
||||||
;; To show old journal files in the app, manually rename the files in the
|
|
||||||
;; journal directory to match the new format.
|
|
||||||
;; Default value: "yyyy_MM_dd"
|
|
||||||
;; :journal/file-name-format "yyyy_MM_dd"
|
|
||||||
|
|
||||||
;; Enable tooltip preview on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/enable-tooltip? true
|
|
||||||
|
|
||||||
;; Display brackets [[]] around page references.
|
|
||||||
;; Default value: true
|
|
||||||
;; :ui/show-brackets? true
|
|
||||||
|
|
||||||
;; Display all lines of a block when referencing ((block)).
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-full-blocks? false
|
|
||||||
|
|
||||||
;; Automatically expand block references when zooming in.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/auto-expand-block-refs? true
|
|
||||||
|
|
||||||
;; Enable Block timestamps.
|
|
||||||
;; Default value: false
|
|
||||||
:feature/enable-block-timestamps? false
|
|
||||||
|
|
||||||
;; Disable accent marks when searching.
|
|
||||||
;; After changing this setting, rebuild the search index by pressing (^C ^S).
|
|
||||||
;; Default value: true
|
|
||||||
:feature/enable-search-remove-accents? true
|
|
||||||
|
|
||||||
;; Enable journals.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-journals? true
|
|
||||||
|
|
||||||
;; Enable flashcards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-flashcards? true
|
|
||||||
|
|
||||||
;; Enable whiteboards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-whiteboards? true
|
|
||||||
|
|
||||||
;; Disable the journal's built-in 'Scheduled tasks and deadlines' query.
|
|
||||||
;; Default value: false
|
|
||||||
;; :feature/disable-scheduled-and-deadline-query? false
|
|
||||||
|
|
||||||
;; Specify the number of days displayed in the future for
|
|
||||||
;; the 'scheduled tasks and deadlines' query.
|
|
||||||
;; Example usage:
|
|
||||||
;; Display all scheduled and deadline blocks for the next 14 days:
|
|
||||||
;; :scheduled/future-days 14
|
|
||||||
;; Default value: 7
|
|
||||||
;; :scheduled/future-days 7
|
|
||||||
|
|
||||||
;; Specify the first day of the week.
|
|
||||||
;; Available options:
|
|
||||||
;; - integer from 0 to 6 (Monday to Sunday)
|
|
||||||
;; Default value: 6 (Sunday)
|
|
||||||
:start-of-week 6
|
|
||||||
|
|
||||||
;; Specify a custom CSS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.css` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"
|
|
||||||
|
|
||||||
;; Specify a custom JS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.js` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-js-url "https://cdn.logseq.com/custom.js"
|
|
||||||
|
|
||||||
;; Set a custom Arweave gateway
|
|
||||||
;; Default gateway: https://arweave.net
|
|
||||||
;; :arweave/gateway "https://arweave.net"
|
|
||||||
|
|
||||||
;; Set bullet indentation when exporting
|
|
||||||
;; Available options:
|
|
||||||
;; - `:eight-spaces` as eight spaces
|
|
||||||
;; - `:four-spaces` as four spaces
|
|
||||||
;; - `:two-spaces` as two spaces
|
|
||||||
;; - `:tab` as a tab character (default)
|
|
||||||
;; :export/bullet-indentation :tab
|
|
||||||
|
|
||||||
;; Publish all pages within the Graph
|
|
||||||
;; Regardless of whether individual pages have been marked as public.
|
|
||||||
;; Default value: false
|
|
||||||
;; :publishing/all-pages-public? false
|
|
||||||
|
|
||||||
;; Define the default home page and sidebar status.
|
|
||||||
;; If unspecified, the journal page will be loaded on startup and the right sidebar will stay hidden.
|
|
||||||
;; The `:page` value represents the name of the page displayed at startup.
|
|
||||||
;; Available options for `:sidebar` are:
|
|
||||||
;; - "Contents" to display the Contents page in the right sidebar.
|
|
||||||
;; - A specific page name to display in the right sidebar.
|
|
||||||
;; - An array of multiple pages, e.g., ["Contents" "Page A" "Page B"].
|
|
||||||
;; If `:sidebar` remains unset, the right sidebar will stay hidden.
|
|
||||||
;; Examples:
|
|
||||||
;; 1. Set "Changelog" as the home page and display "Contents" in the right sidebar:
|
|
||||||
;; :default-home {:page "Changelog", :sidebar "Contents"}
|
|
||||||
;; 2. Set "Jun 3rd, 2021" as the home page without the right sidebar:
|
|
||||||
;; :default-home {:page "Jun 3rd, 2021"}
|
|
||||||
;; 3. Set "home" as the home page and display multiple pages in the right sidebar:
|
|
||||||
;; :default-home {:page "home", :sidebar ["Page A" "Page B"]}
|
|
||||||
|
|
||||||
;; Set the default location for storing notes.
|
|
||||||
;; Default value: "pages"
|
|
||||||
;; :pages-directory "pages"
|
|
||||||
|
|
||||||
;; Set the default location for storing journals.
|
|
||||||
;; Default value: "journals"
|
|
||||||
;; :journals-directory "journals"
|
|
||||||
|
|
||||||
;; Set the default location for storing whiteboards.
|
|
||||||
;; Default value: "whiteboards"
|
|
||||||
;; :whiteboards-directory "whiteboards"
|
|
||||||
|
|
||||||
;; Enabling this option converts
|
|
||||||
;; [[Grant Ideas]] to [[file:./grant_ideas.org][Grant Ideas]] for org-mode.
|
|
||||||
;; For more information, visit https://github.com/logseq/logseq/issues/672
|
|
||||||
;; :org-mode/insert-file-link? false
|
|
||||||
|
|
||||||
;; Configure custom shortcuts.
|
|
||||||
;; Syntax:
|
|
||||||
;; 1. + indicates simultaneous key presses, e.g., `Ctrl+Shift+a`.
|
|
||||||
;; 2. A space between keys represents key chords, e.g., `t s` means
|
|
||||||
;; pressing `t` followed by `s`.
|
|
||||||
;; 3. mod refers to `Ctrl` for Windows/Linux and `Command` for Mac.
|
|
||||||
;; 4. Use false to disable a specific shortcut.
|
|
||||||
;; 5. You can define multiple bindings for a single action, e.g., ["ctrl+j" "down"].
|
|
||||||
;; The full list of configurable shortcuts is available at:
|
|
||||||
;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
|
|
||||||
;; Example:
|
|
||||||
;; :shortcuts
|
|
||||||
;; {:editor/new-block "enter"
|
|
||||||
;; :editor/new-line "shift+enter"
|
|
||||||
;; :editor/insert-link "mod+shift+k"
|
|
||||||
;; :editor/highlight false
|
|
||||||
;; :ui/toggle-settings "t s"
|
|
||||||
;; :editor/up ["ctrl+k" "up"]
|
|
||||||
;; :editor/down ["ctrl+j" "down"]
|
|
||||||
;; :editor/left ["ctrl+h" "left"]
|
|
||||||
;; :editor/right ["ctrl+l" "right"]}
|
|
||||||
:shortcuts {}
|
|
||||||
|
|
||||||
;; Configure the behavior of pressing Enter in document mode.
|
|
||||||
;; if set to true, pressing Enter will create a new block.
|
|
||||||
;; Default value: false
|
|
||||||
:shortcut/doc-mode-enter-for-new-block? false
|
|
||||||
|
|
||||||
;; Block content larger than `block/content-max-length` will not be searchable
|
|
||||||
;; or editable for performance.
|
|
||||||
;; Default value: 10000
|
|
||||||
:block/content-max-length 10000
|
|
||||||
|
|
||||||
;; Display command documentation on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/show-command-doc? true
|
|
||||||
|
|
||||||
;; Display empty bullet points.
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-empty-bullets? false
|
|
||||||
|
|
||||||
;; Pre-defined :view function to use with advanced queries.
|
|
||||||
:query/views
|
|
||||||
{:pprint
|
|
||||||
(fn [r] [:pre.code (pprint r)])}
|
|
||||||
|
|
||||||
;; Advanced queries `:result-transform` function.
|
|
||||||
;; Transform the query result before displaying it.
|
|
||||||
:query/result-transforms
|
|
||||||
{:sort-by-priority
|
|
||||||
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
|
|
||||||
|
|
||||||
;; The following queries will be displayed at the bottom of today's journal page.
|
|
||||||
;; The "NOW" query returns tasks with "NOW" or "DOING" status.
|
|
||||||
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
|
|
||||||
:default-queries
|
|
||||||
{:journals
|
|
||||||
[{:title "🔨 NOW"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?today
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "DOING"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(>= ?d ?start)]
|
|
||||||
[(<= ?d ?today)]]
|
|
||||||
:inputs [:14d :today]
|
|
||||||
:result-transform (fn [result]
|
|
||||||
(sort-by (fn [h]
|
|
||||||
(get h :block/priority "Z")) result))
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}
|
|
||||||
{:title "📅 NEXT"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?next
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "LATER" "TODO"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(> ?d ?start)]
|
|
||||||
[(< ?d ?next)]]
|
|
||||||
:inputs [:today :7d-after]
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}]}
|
|
||||||
|
|
||||||
;; Add custom commands to the command palette
|
|
||||||
;; Example usage:
|
|
||||||
;; :commands
|
|
||||||
;; [
|
|
||||||
;; ["js" "Javascript"]
|
|
||||||
;; ["md" "Markdown"]
|
|
||||||
;; ]
|
|
||||||
:commands []
|
|
||||||
|
|
||||||
;; Enable collapsing blocks with titles but no children.
|
|
||||||
;; By default, only blocks with children can be collapsed.
|
|
||||||
;; Setting `:outliner/block-title-collapse-enabled?` to true allows collapsing
|
|
||||||
;; blocks with titles (multiple lines) and content. For example:
|
|
||||||
;; - block title
|
|
||||||
;; block content
|
|
||||||
;; Default value: false
|
|
||||||
:outliner/block-title-collapse-enabled? false
|
|
||||||
|
|
||||||
;; Macros replace texts and will make you more productive.
|
|
||||||
;; Example usage:
|
|
||||||
;; Change the :macros value below to:
|
|
||||||
;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
|
|
||||||
;; input "{{poem red,blue}}"
|
|
||||||
;; becomes
|
|
||||||
;; Rose is red, violet's blue. Life's ordered: Org assists you.
|
|
||||||
:macros {}
|
|
||||||
|
|
||||||
;; Configure the default expansion level for linked references.
|
|
||||||
;; For example, consider the following block hierarchy:
|
|
||||||
;; - a [[page]] (level 1)
|
|
||||||
;; - b (level 2)
|
|
||||||
;; - c (level 3)
|
|
||||||
;; - d (level 4)
|
|
||||||
;;
|
|
||||||
;; With the default value of level 2, block b will be collapsed.
|
|
||||||
;; If the level's value is set to 3, block c will be collapsed.
|
|
||||||
;; Default value: 2
|
|
||||||
:ref/default-open-blocks-level 2
|
|
||||||
|
|
||||||
;; Configure the threshold for linked references before collapsing.
|
|
||||||
;; Default value: 100
|
|
||||||
:ref/linked-references-collapsed-threshold 50
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/settings
|
|
||||||
;; {:orphan-pages? true ; Default value: true
|
|
||||||
;; :builtin-pages? false ; Default value: false
|
|
||||||
;; :excluded-pages? false ; Default value: false
|
|
||||||
;; :journal? false} ; Default value: false
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/forcesettings
|
|
||||||
;; {:link-dist 180 ; Default value: 180
|
|
||||||
;; :charge-strength -600 ; Default value: -600
|
|
||||||
;; :charge-range 600} ; Default value: 600
|
|
||||||
|
|
||||||
;; Favorites to list on the left sidebar
|
|
||||||
:favorites ["index page" "Index"]
|
|
||||||
|
|
||||||
;; Set flashcards interval.
|
|
||||||
;; Expected value:
|
|
||||||
;; - Float between 0 and 1
|
|
||||||
;; higher values result in faster changes to the next review interval.
|
|
||||||
;; Default value: 0.5
|
|
||||||
;; :srs/learning-fraction 0.5
|
|
||||||
|
|
||||||
;; Set the initial interval after the first successful review of a card.
|
|
||||||
;; Default value: 4
|
|
||||||
;; :srs/initial-interval 4
|
|
||||||
|
|
||||||
;; Hide specific block properties.
|
|
||||||
;; Example usage:
|
|
||||||
;; :block-hidden-properties #{:public :icon}
|
|
||||||
|
|
||||||
;; Create a page for all properties.
|
|
||||||
;; Default value: true
|
|
||||||
:property-pages/enabled? true
|
|
||||||
|
|
||||||
;; Properties to exclude from having property pages
|
|
||||||
;; Example usage:
|
|
||||||
;; :property-pages/excludelist #{:duration :author}
|
|
||||||
|
|
||||||
;; By default, property value separated by commas will not be treated as
|
|
||||||
;; page references. You can add properties to enable it.
|
|
||||||
;; Example usage:
|
|
||||||
;; :property/separated-by-commas #{:alias :tags}
|
|
||||||
|
|
||||||
;; Properties that are ignored when parsing property values for references
|
|
||||||
;; Example usage:
|
|
||||||
;; :ignored-page-references-keywords #{:author :website}
|
|
||||||
|
|
||||||
;; logbook configuration.
|
|
||||||
;; :logbook/settings
|
|
||||||
;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
|
|
||||||
;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
|
|
||||||
;; :enabled-in-timestamped-blocks false ;don't display logbook at all
|
|
||||||
;; }
|
|
||||||
|
|
||||||
;; Mobile photo upload configuration.
|
|
||||||
;; :mobile/photo
|
|
||||||
;; {:allow-editing? true
|
|
||||||
;; :quality 80}
|
|
||||||
|
|
||||||
;; Mobile features options
|
|
||||||
;; Gestures
|
|
||||||
;; Example usage:
|
|
||||||
;; :mobile
|
|
||||||
;; {:gestures/disabled-in-block-with-tags ["kanban"]}
|
|
||||||
|
|
||||||
;; Extra CodeMirror options
|
|
||||||
;; See https://codemirror.net/5/doc/manual.html#config for possible options
|
|
||||||
;; Example usage:
|
|
||||||
;; :editor/extra-codemirror-options
|
|
||||||
;; {:lineWrapping false ; Default value: false
|
|
||||||
;; :lineNumbers true ; Default value: true
|
|
||||||
;; :readOnly false} ; Default value: false
|
|
||||||
|
|
||||||
;; Enable logical outdenting
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/logical-outdenting? false
|
|
||||||
|
|
||||||
;; Prefer pasting the file when text and a file are in the clipboard.
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/preferred-pasting-file? false
|
|
||||||
|
|
||||||
;; Quick capture templates for receiving content from other apps.
|
|
||||||
;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
|
|
||||||
;; by receiving content from other apps. Note: the {} cannot be omitted.
|
|
||||||
;; - {time}: capture time
|
|
||||||
;; - {date}: capture date using current date format, use `[[{date}]]` to get a page reference
|
|
||||||
;; - {text}: text that users selected before sharing.
|
|
||||||
;; - {url}: URL or assets path for media files stored in Logseq.
|
|
||||||
;; You can also reorder them or use only one or two of them in the template.
|
|
||||||
;; You can also insert or format any text in the template, as shown in the following examples.
|
|
||||||
;; :quick-capture-templates
|
|
||||||
;; {:text "[[quick capture]] **{time}**: {text} from {url}"
|
|
||||||
;; :media "[[quick capture]] **{time}**: {url}"}
|
|
||||||
|
|
||||||
;; Quick capture options.
|
|
||||||
;; - insert-today? Insert the capture at the end of today's journal page (boolean).
|
|
||||||
;; - redirect-page? Redirect to the quick capture page after capturing (boolean).
|
|
||||||
;; - default-page The default page to capture to if insert-today? is false (string).
|
|
||||||
;; :quick-capture-options
|
|
||||||
;; {:insert-today? false ;; Default value: true
|
|
||||||
;; :redirect-page? false ;; Default value: false
|
|
||||||
;; :default-page "quick capture"} ;; Default page: "quick capture"
|
|
||||||
|
|
||||||
;; File sync options
|
|
||||||
;; Ignore these files when syncing, regexp is supported.
|
|
||||||
;; :file-sync/ignore-files []
|
|
||||||
|
|
||||||
;; Configure the Enter key behavior for
|
|
||||||
;; context-aware editing with DWIM (Do What I Mean).
|
|
||||||
;; context-aware Enter key behavior implies that pressing Enter will
|
|
||||||
;; have different outcomes based on the context.
|
|
||||||
;; For instance, pressing Enter within a list generates a new list item,
|
|
||||||
;; whereas pressing Enter in a block reference opens the referenced block.
|
|
||||||
;; :dwim/settings
|
|
||||||
;; {:admonition&src? true ;; Default value: true
|
|
||||||
;; :markup? false ;; Default value: false
|
|
||||||
;; :block-ref? true ;; Default value: true
|
|
||||||
;; :page-ref? true ;; Default value: true
|
|
||||||
;; :properties? true ;; Default value: true
|
|
||||||
;; :list? false} ;; Default value: false
|
|
||||||
|
|
||||||
;; Configure the escaping method for special characters in page titles.
|
|
||||||
;; Warning:
|
|
||||||
;; This is a dangerous operation. To modify the setting,
|
|
||||||
;; access the 'Filename format' setting and follow the instructions.
|
|
||||||
;; Otherwise, You may need to manually rename all affected files and
|
|
||||||
;; re-index them on all clients after synchronization.
|
|
||||||
;; Incorrect handling may result in messy page titles.
|
|
||||||
;; Available options:
|
|
||||||
;; - :triple-lowbar (default)
|
|
||||||
;; ;use triple underscore `___` for slash `/` in page title
|
|
||||||
;; ;use Percent-encoding for other invalid characters
|
|
||||||
:file/name-format :triple-lowbar
|
|
||||||
:journal/page-title-format "yyyy-MM-dd EEEE"}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
style : bold !important;
|
|
||||||
color: #000000 !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #000000 !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #ffffff !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #00ff7f !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #006400 !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #32cd32 !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
deck:: 영어기초
|
|
||||||
|
|
||||||
- # **⦿ 8품사**
|
|
||||||
- 대명사(proⓝ) : 명사를 대신함
|
|
||||||
- 명사(ⓝ)
|
|
||||||
- 형용사(ⓐ) : 명사를 꾸며줌
|
|
||||||
- 전치사(pre.)
|
|
||||||
- 동사(ⓥ)
|
|
||||||
- 부사(adv.) : 동사를 꾸며줌
|
|
||||||
- 감탄사(Int.)
|
|
||||||
- 접속사(conj.) : 문장과 문장을 연결
|
|
||||||
-
|
|
||||||
- # **⦿ 4요소**
|
|
||||||
- **8품사는 4개의 자리값을 가진다.**
|
|
||||||
- 주어
|
|
||||||
- 해석 : 은,는,이,가
|
|
||||||
- 품사 : 명사, 대명사
|
|
||||||
- 서술어
|
|
||||||
- 해석 : ~다
|
|
||||||
- 품사 : 동사
|
|
||||||
- 목적어
|
|
||||||
- 해석 : 을,를,에게
|
|
||||||
- 품사 : 명사, 대명사
|
|
||||||
- 보어
|
|
||||||
- 해석 : 한국어에 없는 요소. 그때마다 해석이 달라짐.
|
|
||||||
- 품사 : 명사, 대명사, 형용사
|
|
||||||
- 수식어 (⋇추가사항)
|
|
||||||
- 필수 요소는 아님.
|
|
||||||
- 품사 : 형용사, 부사
|
|
||||||
-
|
|
||||||
- # **⦿ 5형식**
|
|
||||||
- 영어의 문장은 5개의 형식을 따른다.
|
|
||||||
- **1형식**
|
|
||||||
id:: 6840094a-dbc4-4057-ad6b-1ec2aedcd35f
|
|
||||||
- 주어 + 완전 자동사
|
|
||||||
- 해석 : :-> ~는 -다
|
|
||||||
id:: 684007a1-f4a6-452e-a392-4f4ec272587c
|
|
||||||
- 
|
|
||||||
- **2형식**
|
|
||||||
- 주어 + 불완전 자동사(목적어를 필요로하지 않는 동사이지만 보어를 필요로하는 자동사)
|
|
||||||
- 해석 : ~는 -다 (...)
|
|
||||||
- 
|
|
||||||
- **3형식**
|
|
||||||
- 주어 + 완전 타동사 + 목적어
|
|
||||||
- 해석 : ~는 -다 ...를
|
|
||||||
- 
|
|
||||||
- **4형식**
|
|
||||||
- 주어 + 수여동사 + 간접목적어 + 직접목적어
|
|
||||||
- 해석 : ~는 -(주)다 ...에게 ...를
|
|
||||||
- 
|
|
||||||
- **5형식**
|
|
||||||
- 주어 + 불완전 타동사(목적어랑 보어 모두 필요한 동사) + 목적어 + 목적보어
|
|
||||||
- 해석 : ~는 -다 ...를 (...)
|
|
||||||
- 
|
|
||||||
-
|
|
||||||
- # **결론**
|
|
||||||
- ## **영어문장은 8종류의 단어가 4가지의 자리값에 5가지 형태로 나열된다!**
|
|
||||||
@ -1,191 +0,0 @@
|
|||||||
deck:: Logseq/coding tip
|
|
||||||
|
|
||||||
- ## **각 언어별 2차원 배열(n*m) 생성**
|
|
||||||
- **Javascript**
|
|
||||||
- id:: 684578c3-84af-4595-af7a-dc46f58bd99b
|
|
||||||
1. 한줄로 선언하기(2가지 방법) #card
|
|
||||||
- ```javascript
|
|
||||||
const arr = Array.from({ length: n }, () => new Array(m).fill(0));
|
|
||||||
|
|
||||||
const arr = new Array(n).fill().map(() => new Array(m).fill(0));
|
|
||||||
```
|
|
||||||
- id:: 68457909-49bf-4cab-b5fc-c61081c0aa0c
|
|
||||||
2. 반복문으로 중첩해서 생성하기 #card
|
|
||||||
- ```javascript
|
|
||||||
let arr = [];
|
|
||||||
for (let i = 0; i < n; i++) {
|
|
||||||
arr[i] = [];
|
|
||||||
for (let j = 0; j < m; j++) {
|
|
||||||
arr[i][j] = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
- id:: 684577c9-7ecc-4ac9-a959-40f1d7593b1b
|
|
||||||
3. 값이 정해져있는 경우 #card
|
|
||||||
- ```javascript
|
|
||||||
const arr = [
|
|
||||||
[1, 2, 3],
|
|
||||||
[4, 5, 6],
|
|
||||||
[7, 8, 9]
|
|
||||||
];
|
|
||||||
```
|
|
||||||
- **python**
|
|
||||||
- id:: 82ac6ae7-4155-407c-ac0a-78f00ed46c6a
|
|
||||||
1. 한줄로 선언하기 #card
|
|
||||||
- ```python
|
|
||||||
arr = [[0]*m for _ in range(n)]
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **진수변환 알고리즘**
|
|
||||||
- **B진수 숫자 N을 10진수로 바꾸는 법(누적곱 방식)** #card
|
|
||||||
id:: 68458948-9821-42c7-bb19-85d7c7ad4b8d
|
|
||||||
- N의 왼쪽부터 한 자리씩 누적해서 곱하고 더하는 방식
|
|
||||||
- 알고리즘
|
|
||||||
- 최종결과 res를 0으로 초기화
|
|
||||||
- 반복문을 통해 N의 왼쪽숫자부터 하나씩 순회함.
|
|
||||||
- 순회하면서 읽은 값을 10진수로 바꾸고(A=10, B=11...) 그 값은 val에 저장.
|
|
||||||
- res = res*B + val
|
|
||||||
- 반복문을 모두 돌고 나면 최종적으로 res에 변환값이 들어가있음.
|
|
||||||
- **10진수 숫자 N을 B진수로 바꾸는 법(나머지 계산법)** #card
|
|
||||||
id:: 68458b0d-5584-48bf-8bb4-aad6449b0193
|
|
||||||
- N을 B로 계속 나누면서 그때마다 나머지값을 통해 변환하는 방식
|
|
||||||
- 알고리즘
|
|
||||||
- 최종 결과 문자열 res를 선언.
|
|
||||||
- N이 0이 될 때까지 반복문을 순회함.
|
|
||||||
- val에 N을 B로 나눈 나머지 값을 저장.
|
|
||||||
- val값을 진법에 맞게 변환해서 res에 넣음.(앞에서 부터 넣는다)
|
|
||||||
- N을 B로 나눈 몫으로 N을 재선언(N=N//B)
|
|
||||||
- 위의 과정을 반복한 뒤 반복문을 빠져나오면 res에는 최종 변환결과가 역순으로 들어가있음.
|
|
||||||
-
|
|
||||||
- ## **소수점 올림 연산**
|
|
||||||
- **ceil함수를 사용하지 않는 방법** #card
|
|
||||||
id:: 68494b21-76da-4013-a61a-8c8cd812e253
|
|
||||||
- ```python
|
|
||||||
ceil(x/y) = (x+y-1)//y
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **파이썬, 자바스크립트 반복문 순회 및 객체/딕셔너리 순회**
|
|
||||||
- ### **► 일반적인 반복가능 객체를 활용한 반복문 순회(기본 순회)**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: 684e9cfd-e828-43ac-9f6c-76492bdcf94a
|
|
||||||
- ```python
|
|
||||||
arr = [1,2,3,4,5]
|
|
||||||
|
|
||||||
for i in arr :
|
|
||||||
print(i)
|
|
||||||
|
|
||||||
# 출력
|
|
||||||
# 1 2 3 4 5
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: 684e9d25-ddf8-4f7c-b781-21bb247497f8
|
|
||||||
- ```javascript
|
|
||||||
const arr = [1,2,3,4,5];
|
|
||||||
|
|
||||||
for(let i of arr) {
|
|
||||||
console.log(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 출력
|
|
||||||
// 1 2 3 4 5
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ### **► 자바스크립트의 객체(Object) 는 파이썬의 딕셔너리(Dictionary)**
|
|
||||||
- **키(key)와 값(value)을 가지는 데이터의 집합(각각의 언어에서 서로 동일하다고 생각해도 무방함)**
|
|
||||||
- **◎ 선언 및 접근방법**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: 684e9fb3-3cf0-4fa0-8539-e53bfe7fbcc1
|
|
||||||
- ```python
|
|
||||||
# 빈데이터 초기화 방법
|
|
||||||
dic = {} # dict()
|
|
||||||
|
|
||||||
# 직접 선언 방법
|
|
||||||
dic = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# 출력
|
|
||||||
print(dic["name"])
|
|
||||||
print(dic["age"])
|
|
||||||
# Yechan
|
|
||||||
# 30
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: 684ea0a5-0720-4a7b-a3b0-6fd81541ec05
|
|
||||||
- ```javascript
|
|
||||||
// 빈데이터 초기화 방법
|
|
||||||
let obj = {};
|
|
||||||
|
|
||||||
// 직접 선언 방법
|
|
||||||
let obj = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
};
|
|
||||||
|
|
||||||
// 출력
|
|
||||||
console.log(obj.name);
|
|
||||||
console.log(obj["age"]);
|
|
||||||
// Yechan
|
|
||||||
// 30
|
|
||||||
// 두 방법 모두 사용 가능
|
|
||||||
```
|
|
||||||
- **◎ 키 및 값 순회(반복문 사용, 순서는 보장되지 않음)**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: c506e90a-c84b-4498-ba5f-5028f5a874f6
|
|
||||||
- ```python
|
|
||||||
dic = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# key 순회
|
|
||||||
for key in dic :
|
|
||||||
print(dic[key])
|
|
||||||
# Yechan
|
|
||||||
# 30
|
|
||||||
|
|
||||||
# key, value 순회
|
|
||||||
for key, value in dic.items() :
|
|
||||||
print(key, value)
|
|
||||||
# name Yechan
|
|
||||||
# age 30
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: f380d0d7-7826-4714-bb8c-c78cc601ca50
|
|
||||||
- ```javascript
|
|
||||||
let obj = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
};
|
|
||||||
|
|
||||||
// key 순회
|
|
||||||
for(let key in obj){
|
|
||||||
console.log(obj[key]);
|
|
||||||
}
|
|
||||||
// Yechan
|
|
||||||
// 30
|
|
||||||
|
|
||||||
// key, value 순회
|
|
||||||
for [key, value] of Object.entries(obj) {
|
|
||||||
console.log(key, value);
|
|
||||||
}
|
|
||||||
// name Yechan
|
|
||||||
// age 30
|
|
||||||
|
|
||||||
for key of Object.keys(obj) {
|
|
||||||
console.log(key, obj[key]);
|
|
||||||
}
|
|
||||||
// name Yechan
|
|
||||||
// age 30
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **C언어 변수 타입별 메모리 할당크기 정리**
|
|
||||||
- 테스트 #card
|
|
||||||
id:: 684ea7e1-e59d-47a5-971f-2114a17fdda7
|
|
||||||
- id:: 684ea656-cac9-45ba-8dc4-5ade273c8777
|
|
||||||
|<b>원형</b>|<b>과거형</b>|<b>과거분사형</b>|
|
|
||||||
|:---:|:---:|:---:|
|
|
||||||
|<b> go</b>|<b>went </b>|<b>gone</b>|
|
|
||||||
|<b>begin</b>|<b>began</b>|<b>begun</b>|
|
|
||||||
|<b>choose</b>|<b>chose</b>|<b>chosen</b>|
|
|
||||||
@ -1,227 +0,0 @@
|
|||||||
deck:: Logseq/coding tip
|
|
||||||
|
|
||||||
- ## **각 언어별 2차원 배열(n*m) 생성**
|
|
||||||
- **Javascript**
|
|
||||||
- id:: 684578c3-84af-4595-af7a-dc46f58bd99b
|
|
||||||
1. 한줄로 선언하기(2가지 방법) #card
|
|
||||||
- ```javascript
|
|
||||||
const arr = Array.from({ length: n }, () => new Array(m).fill(0));
|
|
||||||
|
|
||||||
const arr = new Array(n).fill().map(() => new Array(m).fill(0));
|
|
||||||
```
|
|
||||||
- id:: 68457909-49bf-4cab-b5fc-c61081c0aa0c
|
|
||||||
2. 반복문으로 중첩해서 생성하기 #card
|
|
||||||
- ```javascript
|
|
||||||
let arr = [];
|
|
||||||
for (let i = 0; i < n; i++) {
|
|
||||||
arr[i] = [];
|
|
||||||
for (let j = 0; j < m; j++) {
|
|
||||||
arr[i][j] = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
- id:: 684577c9-7ecc-4ac9-a959-40f1d7593b1b
|
|
||||||
3. 값이 정해져있는 경우 #card
|
|
||||||
- ```javascript
|
|
||||||
const arr = [
|
|
||||||
[1, 2, 3],
|
|
||||||
[4, 5, 6],
|
|
||||||
[7, 8, 9]
|
|
||||||
];
|
|
||||||
```
|
|
||||||
- **python**
|
|
||||||
- id:: 82ac6ae7-4155-407c-ac0a-78f00ed46c6a
|
|
||||||
1. 한줄로 선언하기 #card
|
|
||||||
- ```python
|
|
||||||
arr = [[0]*m for _ in range(n)]
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **진수변환 알고리즘**
|
|
||||||
- **B진수 숫자 N을 10진수로 바꾸는 법(누적곱 방식)** #card
|
|
||||||
id:: 68458948-9821-42c7-bb19-85d7c7ad4b8d
|
|
||||||
- N의 왼쪽부터 한 자리씩 누적해서 곱하고 더하는 방식
|
|
||||||
- 알고리즘
|
|
||||||
- 최종결과 res를 0으로 초기화
|
|
||||||
- 반복문을 통해 N의 왼쪽숫자부터 하나씩 순회함.
|
|
||||||
- 순회하면서 읽은 값을 10진수로 바꾸고(A=10, B=11...) 그 값은 val에 저장.
|
|
||||||
- res = res*B + val
|
|
||||||
- 반복문을 모두 돌고 나면 최종적으로 res에 변환값이 들어가있음.
|
|
||||||
- **10진수 숫자 N을 B진수로 바꾸는 법(나머지 계산법)** #card
|
|
||||||
id:: 68458b0d-5584-48bf-8bb4-aad6449b0193
|
|
||||||
- N을 B로 계속 나누면서 그때마다 나머지값을 통해 변환하는 방식
|
|
||||||
- 알고리즘
|
|
||||||
- 최종 결과 문자열 res를 선언.
|
|
||||||
- N이 0이 될 때까지 반복문을 순회함.
|
|
||||||
- val에 N을 B로 나눈 나머지 값을 저장.
|
|
||||||
- val값을 진법에 맞게 변환해서 res에 넣음.(앞에서 부터 넣는다)
|
|
||||||
- N을 B로 나눈 몫으로 N을 재선언(N=N//B)
|
|
||||||
- 위의 과정을 반복한 뒤 반복문을 빠져나오면 res에는 최종 변환결과가 역순으로 들어가있음.
|
|
||||||
-
|
|
||||||
- ## **소수점 올림 연산**
|
|
||||||
- **ceil함수를 사용하지 않는 방법** #card
|
|
||||||
id:: 68494b21-76da-4013-a61a-8c8cd812e253
|
|
||||||
- ```python
|
|
||||||
ceil(x/y) = (x+y-1)//y
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **파이썬, 자바스크립트 반복문 순회 및 객체/딕셔너리 순회**
|
|
||||||
- ### **► 일반적인 반복가능 객체를 활용한 반복문 순회(기본 순회)**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: 684e9cfd-e828-43ac-9f6c-76492bdcf94a
|
|
||||||
- ```python
|
|
||||||
arr = [1,2,3,4,5]
|
|
||||||
|
|
||||||
for i in arr :
|
|
||||||
print(i)
|
|
||||||
|
|
||||||
# 출력
|
|
||||||
# 1 2 3 4 5
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: 684e9d25-ddf8-4f7c-b781-21bb247497f8
|
|
||||||
- ```javascript
|
|
||||||
const arr = [1,2,3,4,5];
|
|
||||||
|
|
||||||
for(let i of arr) {
|
|
||||||
console.log(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 출력
|
|
||||||
// 1 2 3 4 5
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ### **► 자바스크립트의 객체(Object) 는 파이썬의 딕셔너리(Dictionary)**
|
|
||||||
- **키(key)와 값(value)을 가지는 데이터의 집합(각각의 언어에서 서로 동일하다고 생각해도 무방함)**
|
|
||||||
- **◎ 선언 및 접근방법**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: 684e9fb3-3cf0-4fa0-8539-e53bfe7fbcc1
|
|
||||||
- ```python
|
|
||||||
# 빈데이터 초기화 방법
|
|
||||||
dic = {} # dict()
|
|
||||||
|
|
||||||
# 직접 선언 방법
|
|
||||||
dic = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# 출력
|
|
||||||
print(dic["name"])
|
|
||||||
print(dic["age"])
|
|
||||||
# Yechan
|
|
||||||
# 30
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: 684ea0a5-0720-4a7b-a3b0-6fd81541ec05
|
|
||||||
- ```javascript
|
|
||||||
// 빈데이터 초기화 방법
|
|
||||||
let obj = {};
|
|
||||||
|
|
||||||
// 직접 선언 방법
|
|
||||||
let obj = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
};
|
|
||||||
|
|
||||||
// 출력
|
|
||||||
console.log(obj.name);
|
|
||||||
console.log(obj["age"]);
|
|
||||||
// Yechan
|
|
||||||
// 30
|
|
||||||
// 두 방법 모두 사용 가능
|
|
||||||
```
|
|
||||||
- **◎ 키 및 값 순회(반복문 사용, 순서는 보장되지 않음)**
|
|
||||||
- **● pythron** #card
|
|
||||||
id:: c506e90a-c84b-4498-ba5f-5028f5a874f6
|
|
||||||
- ```python
|
|
||||||
dic = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# key 순회
|
|
||||||
for key in dic :
|
|
||||||
print(dic[key])
|
|
||||||
# Yechan
|
|
||||||
# 30
|
|
||||||
|
|
||||||
# key, value 순회
|
|
||||||
for key, value in dic.items() :
|
|
||||||
print(key, value)
|
|
||||||
# name Yechan
|
|
||||||
# age 30
|
|
||||||
```
|
|
||||||
- **● javascript** #card
|
|
||||||
id:: f380d0d7-7826-4714-bb8c-c78cc601ca50
|
|
||||||
- ```javascript
|
|
||||||
let obj = {
|
|
||||||
"name": "Yechan",
|
|
||||||
"age" : 30
|
|
||||||
};
|
|
||||||
|
|
||||||
// key 순회
|
|
||||||
for(let key in obj){
|
|
||||||
console.log(obj[key]);
|
|
||||||
}
|
|
||||||
// Yechan
|
|
||||||
// 30
|
|
||||||
|
|
||||||
// key, value 순회
|
|
||||||
for [key, value] of Object.entries(obj) {
|
|
||||||
console.log(key, value);
|
|
||||||
}
|
|
||||||
// name Yechan
|
|
||||||
// age 30
|
|
||||||
|
|
||||||
for key of Object.keys(obj) {
|
|
||||||
console.log(key, obj[key]);
|
|
||||||
}
|
|
||||||
// name Yechan
|
|
||||||
// age 30
|
|
||||||
```
|
|
||||||
-
|
|
||||||
- ## **C언어 변수 타입별 메모리 할당크기 정리**
|
|
||||||
- ### **빈칸 채워보기**
|
|
||||||
id:: 684ea7e1-e59d-47a5-971f-2114a17fdda7
|
|
||||||
-  #card
|
|
||||||
id:: 684eae27-cd8a-4043-b999-d51b71757544
|
|
||||||
- 
|
|
||||||
id:: 684ea656-cac9-45ba-8dc4-5ade273c8777
|
|
||||||
-
|
|
||||||
- ## **비트연산 정리**
|
|
||||||
- ### **XOR(배타적 논리합)**
|
|
||||||
- 기호 : :-> ^
|
|
||||||
id:: 684eaf61-54bb-4f69-af87-f75f280bd119
|
|
||||||
- 연산값 : :-> (0,0)->0, (0,1)->1, (1,0)->1, (1,1)->0 [같으면 0, 다르면 1]
|
|
||||||
id:: 684eafb2-7091-4d69-8c3f-0540d687b782
|
|
||||||
- 핵심성질 #card
|
|
||||||
id:: 684eaff6-5a2b-4cdd-ba5d-cba163b087fa
|
|
||||||
- 같은 값끼리 XOR하면 0이 된다: `a ^ a = 0`
|
|
||||||
- 0과 XOR하면 자기 자신이 된다: `a ^ 0 = a`
|
|
||||||
- 교환법칙, 결합법칙이 성립한다: `a ^ b = b ^ a`, `(a ^ b) ^ c = a ^ (b ^ c)`
|
|
||||||
- 활용 #card #depth-1
|
|
||||||
id:: 684eb038-f987-419b-b531-2b7a868c0842
|
|
||||||
- 중복되는 여러 수들 중에 단 하나 다른 수를 찾는 방법으로 활용 #card
|
|
||||||
id:: 684eb045-4df8-4943-bdfb-65f983f2704e
|
|
||||||
- 모든 수를 하나하나 xor하면 결국 최종적으로 나오는 결과는 다른 하나가 나옴.
|
|
||||||
- ```C
|
|
||||||
int arr[] = {1, 2, 3, 2, 1};
|
|
||||||
int res = 0;
|
|
||||||
for(int i=0; i<5; i++) res ^= arr[i];
|
|
||||||
// res == 3 (짝이 없는 값)
|
|
||||||
```
|
|
||||||
- 중복되는 수가 홀수개로 짝지어져 있으면 사용할 수 없음
|
|
||||||
- 단 단 하나의 수를 제외한 모든 수가 같은 숫자라면 사용 가능
|
|
||||||
- 임시변수 없이 두 변수의 값을 swap #card
|
|
||||||
id:: 684eb1a1-f13d-45c3-b03b-da9372da5e7c
|
|
||||||
- XOR 연산의 교환법칙을 잘 응용하면 아래의 코드처럼 두 변수를 교환할 수 있음.
|
|
||||||
- ```C
|
|
||||||
int a = 3;
|
|
||||||
int b = 5;
|
|
||||||
|
|
||||||
a = a ^ b;
|
|
||||||
b = a ^ b;
|
|
||||||
a = a ^ b;
|
|
||||||
// 이제 a=5, b=3 (값이 서로 바뀜)
|
|
||||||
```
|
|
||||||
-
|
|
||||||
@ -1,422 +0,0 @@
|
|||||||
{:meta/version 1
|
|
||||||
|
|
||||||
;; Set the preferred format.
|
|
||||||
;; Available options:
|
|
||||||
;; - Markdown (default)
|
|
||||||
;; - Org
|
|
||||||
;; :preferred-format "Markdown"
|
|
||||||
|
|
||||||
;; Set the preferred workflow style.
|
|
||||||
;; Available options:
|
|
||||||
;; - :now for NOW/LATER style (default)
|
|
||||||
;; - :todo for TODO/DOING style
|
|
||||||
:preferred-workflow :now
|
|
||||||
|
|
||||||
;; Exclude directories/files.
|
|
||||||
;; Example usage:
|
|
||||||
;; :hidden ["/archived" "/test.md" "../assets/archived"]
|
|
||||||
:hidden []
|
|
||||||
|
|
||||||
;; Define the default journal page template.
|
|
||||||
;; Enter the template name between the quotes.
|
|
||||||
:default-templates
|
|
||||||
{:journals ""}
|
|
||||||
|
|
||||||
;; Set a custom date format for the journal page title.
|
|
||||||
;; Default value: "MMM do, yyyy"
|
|
||||||
;; e.g., "Jan 19th, 2038"
|
|
||||||
;; Example usage e.g., "Tue 19th, Jan 2038"
|
|
||||||
;; :journal/page-title-format "EEE do, MMM yyyy"
|
|
||||||
|
|
||||||
;; Specify the journal filename format using a valid date format string.
|
|
||||||
;; !Warning:
|
|
||||||
;; This configuration is not retroactive and affects only new journals.
|
|
||||||
;; To show old journal files in the app, manually rename the files in the
|
|
||||||
;; journal directory to match the new format.
|
|
||||||
;; Default value: "yyyy_MM_dd"
|
|
||||||
;; :journal/file-name-format "yyyy_MM_dd"
|
|
||||||
|
|
||||||
;; Enable tooltip preview on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/enable-tooltip? true
|
|
||||||
|
|
||||||
;; Display brackets [[]] around page references.
|
|
||||||
;; Default value: true
|
|
||||||
;; :ui/show-brackets? true
|
|
||||||
|
|
||||||
;; Display all lines of a block when referencing ((block)).
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-full-blocks? false
|
|
||||||
|
|
||||||
;; Automatically expand block references when zooming in.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/auto-expand-block-refs? true
|
|
||||||
|
|
||||||
;; Enable Block timestamps.
|
|
||||||
;; Default value: false
|
|
||||||
:feature/enable-block-timestamps? false
|
|
||||||
|
|
||||||
;; Disable accent marks when searching.
|
|
||||||
;; After changing this setting, rebuild the search index by pressing (^C ^S).
|
|
||||||
;; Default value: true
|
|
||||||
:feature/enable-search-remove-accents? true
|
|
||||||
|
|
||||||
;; Enable journals.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-journals? true
|
|
||||||
|
|
||||||
;; Enable flashcards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-flashcards? true
|
|
||||||
|
|
||||||
;; Enable whiteboards.
|
|
||||||
;; Default value: true
|
|
||||||
;; :feature/enable-whiteboards? true
|
|
||||||
|
|
||||||
;; Disable the journal's built-in 'Scheduled tasks and deadlines' query.
|
|
||||||
;; Default value: false
|
|
||||||
;; :feature/disable-scheduled-and-deadline-query? false
|
|
||||||
|
|
||||||
;; Specify the number of days displayed in the future for
|
|
||||||
;; the 'scheduled tasks and deadlines' query.
|
|
||||||
;; Example usage:
|
|
||||||
;; Display all scheduled and deadline blocks for the next 14 days:
|
|
||||||
;; :scheduled/future-days 14
|
|
||||||
;; Default value: 7
|
|
||||||
;; :scheduled/future-days 7
|
|
||||||
|
|
||||||
;; Specify the first day of the week.
|
|
||||||
;; Available options:
|
|
||||||
;; - integer from 0 to 6 (Monday to Sunday)
|
|
||||||
;; Default value: 6 (Sunday)
|
|
||||||
:start-of-week 6
|
|
||||||
|
|
||||||
;; Specify a custom CSS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.css` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-css-url "@import url('https://cdn.jsdelivr.net/gh/dracula/logseq@master/custom.css');"
|
|
||||||
|
|
||||||
;; Specify a custom JS import.
|
|
||||||
;; This option takes precedence over the local `logseq/custom.js` file.
|
|
||||||
;; Example usage:
|
|
||||||
;; :custom-js-url "https://cdn.logseq.com/custom.js"
|
|
||||||
|
|
||||||
;; Set a custom Arweave gateway
|
|
||||||
;; Default gateway: https://arweave.net
|
|
||||||
;; :arweave/gateway "https://arweave.net"
|
|
||||||
|
|
||||||
;; Set bullet indentation when exporting
|
|
||||||
;; Available options:
|
|
||||||
;; - `:eight-spaces` as eight spaces
|
|
||||||
;; - `:four-spaces` as four spaces
|
|
||||||
;; - `:two-spaces` as two spaces
|
|
||||||
;; - `:tab` as a tab character (default)
|
|
||||||
;; :export/bullet-indentation :tab
|
|
||||||
|
|
||||||
;; Publish all pages within the Graph
|
|
||||||
;; Regardless of whether individual pages have been marked as public.
|
|
||||||
;; Default value: false
|
|
||||||
;; :publishing/all-pages-public? false
|
|
||||||
|
|
||||||
;; Define the default home page and sidebar status.
|
|
||||||
;; If unspecified, the journal page will be loaded on startup and the right sidebar will stay hidden.
|
|
||||||
;; The `:page` value represents the name of the page displayed at startup.
|
|
||||||
;; Available options for `:sidebar` are:
|
|
||||||
;; - "Contents" to display the Contents page in the right sidebar.
|
|
||||||
;; - A specific page name to display in the right sidebar.
|
|
||||||
;; - An array of multiple pages, e.g., ["Contents" "Page A" "Page B"].
|
|
||||||
;; If `:sidebar` remains unset, the right sidebar will stay hidden.
|
|
||||||
;; Examples:
|
|
||||||
;; 1. Set "Changelog" as the home page and display "Contents" in the right sidebar:
|
|
||||||
;; :default-home {:page "Changelog", :sidebar "Contents"}
|
|
||||||
;; 2. Set "Jun 3rd, 2021" as the home page without the right sidebar:
|
|
||||||
;; :default-home {:page "Jun 3rd, 2021"}
|
|
||||||
;; 3. Set "home" as the home page and display multiple pages in the right sidebar:
|
|
||||||
;; :default-home {:page "home", :sidebar ["Page A" "Page B"]}
|
|
||||||
|
|
||||||
;; Set the default location for storing notes.
|
|
||||||
;; Default value: "pages"
|
|
||||||
;; :pages-directory "pages"
|
|
||||||
|
|
||||||
;; Set the default location for storing journals.
|
|
||||||
;; Default value: "journals"
|
|
||||||
;; :journals-directory "journals"
|
|
||||||
|
|
||||||
;; Set the default location for storing whiteboards.
|
|
||||||
;; Default value: "whiteboards"
|
|
||||||
;; :whiteboards-directory "whiteboards"
|
|
||||||
|
|
||||||
;; Enabling this option converts
|
|
||||||
;; [[Grant Ideas]] to [[file:./grant_ideas.org][Grant Ideas]] for org-mode.
|
|
||||||
;; For more information, visit https://github.com/logseq/logseq/issues/672
|
|
||||||
;; :org-mode/insert-file-link? false
|
|
||||||
|
|
||||||
;; Configure custom shortcuts.
|
|
||||||
;; Syntax:
|
|
||||||
;; 1. + indicates simultaneous key presses, e.g., `Ctrl+Shift+a`.
|
|
||||||
;; 2. A space between keys represents key chords, e.g., `t s` means
|
|
||||||
;; pressing `t` followed by `s`.
|
|
||||||
;; 3. mod refers to `Ctrl` for Windows/Linux and `Command` for Mac.
|
|
||||||
;; 4. Use false to disable a specific shortcut.
|
|
||||||
;; 5. You can define multiple bindings for a single action, e.g., ["ctrl+j" "down"].
|
|
||||||
;; The full list of configurable shortcuts is available at:
|
|
||||||
;; https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/config.cljs
|
|
||||||
;; Example:
|
|
||||||
;; :shortcuts
|
|
||||||
;; {:editor/new-block "enter"
|
|
||||||
;; :editor/new-line "shift+enter"
|
|
||||||
;; :editor/insert-link "mod+shift+k"
|
|
||||||
;; :editor/highlight false
|
|
||||||
;; :ui/toggle-settings "t s"
|
|
||||||
;; :editor/up ["ctrl+k" "up"]
|
|
||||||
;; :editor/down ["ctrl+j" "down"]
|
|
||||||
;; :editor/left ["ctrl+h" "left"]
|
|
||||||
;; :editor/right ["ctrl+l" "right"]}
|
|
||||||
:shortcuts {}
|
|
||||||
|
|
||||||
;; Configure the behavior of pressing Enter in document mode.
|
|
||||||
;; if set to true, pressing Enter will create a new block.
|
|
||||||
;; Default value: false
|
|
||||||
:shortcut/doc-mode-enter-for-new-block? false
|
|
||||||
|
|
||||||
;; Block content larger than `block/content-max-length` will not be searchable
|
|
||||||
;; or editable for performance.
|
|
||||||
;; Default value: 10000
|
|
||||||
:block/content-max-length 10000
|
|
||||||
|
|
||||||
;; Display command documentation on hover.
|
|
||||||
;; Default value: true
|
|
||||||
:ui/show-command-doc? true
|
|
||||||
|
|
||||||
;; Display empty bullet points.
|
|
||||||
;; Default value: false
|
|
||||||
:ui/show-empty-bullets? false
|
|
||||||
|
|
||||||
;; Pre-defined :view function to use with advanced queries.
|
|
||||||
:query/views
|
|
||||||
{:pprint
|
|
||||||
(fn [r] [:pre.code (pprint r)])}
|
|
||||||
|
|
||||||
;; Advanced queries `:result-transform` function.
|
|
||||||
;; Transform the query result before displaying it.
|
|
||||||
:query/result-transforms
|
|
||||||
{:sort-by-priority
|
|
||||||
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
|
|
||||||
|
|
||||||
;; The following queries will be displayed at the bottom of today's journal page.
|
|
||||||
;; The "NOW" query returns tasks with "NOW" or "DOING" status.
|
|
||||||
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
|
|
||||||
:default-queries
|
|
||||||
{:journals
|
|
||||||
[{:title "🔨 NOW"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?today
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "DOING"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(>= ?d ?start)]
|
|
||||||
[(<= ?d ?today)]]
|
|
||||||
:inputs [:14d :today]
|
|
||||||
:result-transform (fn [result]
|
|
||||||
(sort-by (fn [h]
|
|
||||||
(get h :block/priority "Z")) result))
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}
|
|
||||||
{:title "📅 NEXT"
|
|
||||||
:query [:find (pull ?h [*])
|
|
||||||
:in $ ?start ?next
|
|
||||||
:where
|
|
||||||
[?h :block/marker ?marker]
|
|
||||||
[(contains? #{"NOW" "LATER" "TODO"} ?marker)]
|
|
||||||
[?h :block/page ?p]
|
|
||||||
[?p :block/journal? true]
|
|
||||||
[?p :block/journal-day ?d]
|
|
||||||
[(> ?d ?start)]
|
|
||||||
[(< ?d ?next)]]
|
|
||||||
:inputs [:today :7d-after]
|
|
||||||
:group-by-page? false
|
|
||||||
:collapsed? false}]}
|
|
||||||
|
|
||||||
;; Add custom commands to the command palette
|
|
||||||
;; Example usage:
|
|
||||||
;; :commands
|
|
||||||
;; [
|
|
||||||
;; ["js" "Javascript"]
|
|
||||||
;; ["md" "Markdown"]
|
|
||||||
;; ]
|
|
||||||
:commands []
|
|
||||||
|
|
||||||
;; Enable collapsing blocks with titles but no children.
|
|
||||||
;; By default, only blocks with children can be collapsed.
|
|
||||||
;; Setting `:outliner/block-title-collapse-enabled?` to true allows collapsing
|
|
||||||
;; blocks with titles (multiple lines) and content. For example:
|
|
||||||
;; - block title
|
|
||||||
;; block content
|
|
||||||
;; Default value: false
|
|
||||||
:outliner/block-title-collapse-enabled? false
|
|
||||||
|
|
||||||
;; Macros replace texts and will make you more productive.
|
|
||||||
;; Example usage:
|
|
||||||
;; Change the :macros value below to:
|
|
||||||
;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."}
|
|
||||||
;; input "{{poem red,blue}}"
|
|
||||||
;; becomes
|
|
||||||
;; Rose is red, violet's blue. Life's ordered: Org assists you.
|
|
||||||
:macros {}
|
|
||||||
|
|
||||||
;; Configure the default expansion level for linked references.
|
|
||||||
;; For example, consider the following block hierarchy:
|
|
||||||
;; - a [[page]] (level 1)
|
|
||||||
;; - b (level 2)
|
|
||||||
;; - c (level 3)
|
|
||||||
;; - d (level 4)
|
|
||||||
;;
|
|
||||||
;; With the default value of level 2, block b will be collapsed.
|
|
||||||
;; If the level's value is set to 3, block c will be collapsed.
|
|
||||||
;; Default value: 2
|
|
||||||
:ref/default-open-blocks-level 2
|
|
||||||
|
|
||||||
;; Configure the threshold for linked references before collapsing.
|
|
||||||
;; Default value: 100
|
|
||||||
:ref/linked-references-collapsed-threshold 50
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/settings
|
|
||||||
;; {:orphan-pages? true ; Default value: true
|
|
||||||
;; :builtin-pages? false ; Default value: false
|
|
||||||
;; :excluded-pages? false ; Default value: false
|
|
||||||
;; :journal? false} ; Default value: false
|
|
||||||
|
|
||||||
;; Graph view configuration.
|
|
||||||
;; Example usage:
|
|
||||||
;; :graph/forcesettings
|
|
||||||
;; {:link-dist 180 ; Default value: 180
|
|
||||||
;; :charge-strength -600 ; Default value: -600
|
|
||||||
;; :charge-range 600} ; Default value: 600
|
|
||||||
|
|
||||||
;; Favorites to list on the left sidebar
|
|
||||||
:favorites ["📋 index page" "index page" "Index"]
|
|
||||||
|
|
||||||
;; Set flashcards interval.
|
|
||||||
;; Expected value:
|
|
||||||
;; - Float between 0 and 1
|
|
||||||
;; higher values result in faster changes to the next review interval.
|
|
||||||
;; Default value: 0.5
|
|
||||||
;; :srs/learning-fraction 0.5
|
|
||||||
|
|
||||||
;; Set the initial interval after the first successful review of a card.
|
|
||||||
;; Default value: 4
|
|
||||||
;; :srs/initial-interval 4
|
|
||||||
|
|
||||||
;; Hide specific block properties.
|
|
||||||
;; Example usage:
|
|
||||||
;; :block-hidden-properties #{:public :icon}
|
|
||||||
|
|
||||||
;; Create a page for all properties.
|
|
||||||
;; Default value: true
|
|
||||||
:property-pages/enabled? true
|
|
||||||
|
|
||||||
;; Properties to exclude from having property pages
|
|
||||||
;; Example usage:
|
|
||||||
;; :property-pages/excludelist #{:duration :author}
|
|
||||||
|
|
||||||
;; By default, property value separated by commas will not be treated as
|
|
||||||
;; page references. You can add properties to enable it.
|
|
||||||
;; Example usage:
|
|
||||||
;; :property/separated-by-commas #{:alias :tags}
|
|
||||||
|
|
||||||
;; Properties that are ignored when parsing property values for references
|
|
||||||
;; Example usage:
|
|
||||||
;; :ignored-page-references-keywords #{:author :website}
|
|
||||||
|
|
||||||
;; logbook configuration.
|
|
||||||
;; :logbook/settings
|
|
||||||
;; {:with-second-support? false ;limit logbook to minutes, seconds will be eliminated
|
|
||||||
;; :enabled-in-all-blocks true ;display logbook in all blocks after timetracking
|
|
||||||
;; :enabled-in-timestamped-blocks false ;don't display logbook at all
|
|
||||||
;; }
|
|
||||||
|
|
||||||
;; Mobile photo upload configuration.
|
|
||||||
;; :mobile/photo
|
|
||||||
;; {:allow-editing? true
|
|
||||||
;; :quality 80}
|
|
||||||
|
|
||||||
;; Mobile features options
|
|
||||||
;; Gestures
|
|
||||||
;; Example usage:
|
|
||||||
;; :mobile
|
|
||||||
;; {:gestures/disabled-in-block-with-tags ["kanban"]}
|
|
||||||
|
|
||||||
;; Extra CodeMirror options
|
|
||||||
;; See https://codemirror.net/5/doc/manual.html#config for possible options
|
|
||||||
;; Example usage:
|
|
||||||
;; :editor/extra-codemirror-options
|
|
||||||
;; {:lineWrapping false ; Default value: false
|
|
||||||
;; :lineNumbers true ; Default value: true
|
|
||||||
;; :readOnly false} ; Default value: false
|
|
||||||
|
|
||||||
;; Enable logical outdenting
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/logical-outdenting? false
|
|
||||||
|
|
||||||
;; Prefer pasting the file when text and a file are in the clipboard.
|
|
||||||
;; Default value: false
|
|
||||||
;; :editor/preferred-pasting-file? false
|
|
||||||
|
|
||||||
;; Quick capture templates for receiving content from other apps.
|
|
||||||
;; Each template contains three elements {time}, {text} and {url}, which can be auto-expanded
|
|
||||||
;; by receiving content from other apps. Note: the {} cannot be omitted.
|
|
||||||
;; - {time}: capture time
|
|
||||||
;; - {date}: capture date using current date format, use `[[{date}]]` to get a page reference
|
|
||||||
;; - {text}: text that users selected before sharing.
|
|
||||||
;; - {url}: URL or assets path for media files stored in Logseq.
|
|
||||||
;; You can also reorder them or use only one or two of them in the template.
|
|
||||||
;; You can also insert or format any text in the template, as shown in the following examples.
|
|
||||||
;; :quick-capture-templates
|
|
||||||
;; {:text "[[quick capture]] **{time}**: {text} from {url}"
|
|
||||||
;; :media "[[quick capture]] **{time}**: {url}"}
|
|
||||||
|
|
||||||
;; Quick capture options.
|
|
||||||
;; - insert-today? Insert the capture at the end of today's journal page (boolean).
|
|
||||||
;; - redirect-page? Redirect to the quick capture page after capturing (boolean).
|
|
||||||
;; - default-page The default page to capture to if insert-today? is false (string).
|
|
||||||
;; :quick-capture-options
|
|
||||||
;; {:insert-today? false ;; Default value: true
|
|
||||||
;; :redirect-page? false ;; Default value: false
|
|
||||||
;; :default-page "quick capture"} ;; Default page: "quick capture"
|
|
||||||
|
|
||||||
;; File sync options
|
|
||||||
;; Ignore these files when syncing, regexp is supported.
|
|
||||||
;; :file-sync/ignore-files []
|
|
||||||
|
|
||||||
;; Configure the Enter key behavior for
|
|
||||||
;; context-aware editing with DWIM (Do What I Mean).
|
|
||||||
;; context-aware Enter key behavior implies that pressing Enter will
|
|
||||||
;; have different outcomes based on the context.
|
|
||||||
;; For instance, pressing Enter within a list generates a new list item,
|
|
||||||
;; whereas pressing Enter in a block reference opens the referenced block.
|
|
||||||
;; :dwim/settings
|
|
||||||
;; {:admonition&src? true ;; Default value: true
|
|
||||||
;; :markup? false ;; Default value: false
|
|
||||||
;; :block-ref? true ;; Default value: true
|
|
||||||
;; :page-ref? true ;; Default value: true
|
|
||||||
;; :properties? true ;; Default value: true
|
|
||||||
;; :list? false} ;; Default value: false
|
|
||||||
|
|
||||||
;; Configure the escaping method for special characters in page titles.
|
|
||||||
;; Warning:
|
|
||||||
;; This is a dangerous operation. To modify the setting,
|
|
||||||
;; access the 'Filename format' setting and follow the instructions.
|
|
||||||
;; Otherwise, You may need to manually rename all affected files and
|
|
||||||
;; re-index them on all clients after synchronization.
|
|
||||||
;; Incorrect handling may result in messy page titles.
|
|
||||||
;; Available options:
|
|
||||||
;; - :triple-lowbar (default)
|
|
||||||
;; ;use triple underscore `___` for slash `/` in page title
|
|
||||||
;; ;use Percent-encoding for other invalid characters
|
|
||||||
:file/name-format :triple-lowbar
|
|
||||||
:journal/page-title-format "yyyy-MM-dd EEEE"}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
.page-title {
|
|
||||||
font-size: 1.em !important;
|
|
||||||
font-weight : bold !important;
|
|
||||||
color: #006400 !important; /* 원하는 색상으로 변경 */
|
|
||||||
}
|
|
||||||
@ -1 +0,0 @@
|
|||||||
-
|
|
||||||
@ -1,69 +0,0 @@
|
|||||||
# **⦿ 의문사 만들기**
|
|
||||||
- ## **► 의문사 없는 의문문**
|
|
||||||
- ### **형태**
|
|
||||||
- **1) 주어 + be 동사 -> be 동사 + 주어 ?**
|
|
||||||
- **2) 주어 + 조동사 -> 조동사 + 주어 + 동사원형 ?**
|
|
||||||
- **3) 주어 + 일반동사 -> Do/Does/Did + 주어 + 동사원형 ?**
|
|
||||||
- 주어가 3인칭 단수+현재시제면 Does, 과거시제일 때는 Did, 그 외에는 모두 Do
|
|
||||||
- **4) 주어 + have/has/had + p.p(완료시제) -> Have/Has/Had + 주어 + p.p ?**
|
|
||||||
- 완료시제에 대한 부분은 다음강 참고.
|
|
||||||
- ### **예시**
|
|
||||||
- **1) You are happy.**
|
|
||||||
- **Are you happy?**
|
|
||||||
- **2) She can swim well.**
|
|
||||||
- **Can she swim well?**
|
|
||||||
- **3) They go home.**
|
|
||||||
- **Do they go home?**
|
|
||||||
- **4) She has gone.**
|
|
||||||
- **Has she gone?**
|
|
||||||
- ## **► 의문사 있는 의문문**
|
|
||||||
- ### **의문 대명사**
|
|
||||||
- ||**주격**|**소유격**|**목적격**|
|
|
||||||
|:---:|:---:|:---:|:---:|
|
|
||||||
|**사람**|**who(누구)**|**whose(누구의 것)**|**whom(누구를)**|
|
|
||||||
|**사물**|**what / which**|**X**|**what / which**|
|
|
||||||
- what / which 차이
|
|
||||||
- 물어보는 사물의 선택지 범위가 한정되어 있으면 which, 아니면 what
|
|
||||||
- 샌드위치 가게에서 어떤 샌드위치를 고를지를 물을 때는 which
|
|
||||||
- 이름이 무엇인지 물어볼 때는 what
|
|
||||||
- ### **의문 부사**
|
|
||||||
- |||
|
|
||||||
|:--:|:--:|
|
|
||||||
|**시간**|**when(언제)**|
|
|
||||||
|**장소**|**where(어디서)**|
|
|
||||||
|**방법**|**how(어떻게 / 얼마나)**|
|
|
||||||
|**이유**|**why(왜)**|
|
|
||||||
- ### **의문사를 활용한 의문문**
|
|
||||||
- **기본적으로 의문사가 없을 때의 의문문을 만드는 형태와 동일함.**
|
|
||||||
- 1) 먼저 묻고자 하는 부분을 문장에서 의문대명사 혹은 의문부사로 바꾼다.
|
|
||||||
- 2) 그 후 의문사를 문장 맨 앞으로 보낸다.
|
|
||||||
- 3) 의문사가 없을 때의 의문문을 만드는 형태를 바탕으로 의문사 뒤의 단어들을 배치한다.
|
|
||||||
- 4) 문장 맨 뒤에 물음표를 붙힌다.
|
|
||||||
- **예시**
|
|
||||||
- <b>예문 : <span style="background-color : green; color : yellow"> The girl </span> <span style="background-color : red; color : white"> bought </span> <span style="background-color : blue; color : yellow"> the bike </span> <span style="background-color : orange; color : black"> at </span> <span style="background-color : blue; color : yellow"> the store. </span></b>
|
|
||||||
- 그녀는 그 상점에서 자전거를 샀었다.
|
|
||||||
- 1) 누가?
|
|
||||||
- 누가에 해당되는 주어 The girl를 Who로 바꿈.
|
|
||||||
- 이미 맨 앞이므로 who를 이동할 필요는 없음.
|
|
||||||
- 뒷 문장에 주어 없이 일반동사만 있지만 그냥 주어 생략하고 바로 이어서 씀.
|
|
||||||
- 특수한 경우로 주어를 의문사로 대체해서 바로 뒤에 동사가 나오면 그냥 그대로 씀.
|
|
||||||
- **Who bought the bike at the store?**
|
|
||||||
- 누가 그 상점에서 자전거를 샀어?
|
|
||||||
- 2) 무엇을?
|
|
||||||
- 무엇을 에 해당되는 목적어 the bike를 사물의 의문대명사인 what으로 바꿈.
|
|
||||||
- 상점에서 무엇을 사는지 범위가 한정되지 않았기에 which가 아닌 what.
|
|
||||||
- The girl bought what at the store.
|
|
||||||
- 의문사를 맨 앞으로 보냄.
|
|
||||||
- What the girl bought at the store.
|
|
||||||
- 의문사 뒤의 문장은 주어 + 일반동사 형태이니 do/does/did + 주어 + 동사원형 형태로 바꿈.
|
|
||||||
- 과거형이니 did를 씀.
|
|
||||||
- **What did the girl buy at the store?**
|
|
||||||
- 그녀가 그 상점에서 샀던 것은 무엇이야?
|
|
||||||
- 3) 어디에서?
|
|
||||||
- 장소에 해당되는 부분 at the store를 where로 바꿈.
|
|
||||||
- The girl bought the bike where.
|
|
||||||
- 의문사를 맨 앞으로 보냄.
|
|
||||||
- Where the girl bought the bike.
|
|
||||||
- 의문사 뒤의 문장은 주어 + 일반동사 형태니 그에 맞게 바꿈.
|
|
||||||
- **Where did the girl buy the bike?**
|
|
||||||
- 그녀는 그 자전거를 어디서 샀었어?
|
|
||||||
@ -1,75 +0,0 @@
|
|||||||
# **⦿ 영어의 시제**
|
|
||||||
- ## **► 한국어와 영어의 시제**
|
|
||||||
- ### **한국어**
|
|
||||||
- 과거, 현재, 미래 (3가지)
|
|
||||||
- ### **영어**
|
|
||||||
- 과거, 현재, 미래, 완료형, 진행형, 완료진행형 (12가지)
|
|
||||||
- 현재, 현재 진행형, 현재 완료형, 현재 완료 진행형
|
|
||||||
- 과거, 과거 진행형, 과거 완료형, 과거 완료 진행형
|
|
||||||
- 미래, 미래 진행형, 미래 완료형, 미래 완료 진행형
|
|
||||||
- **대과거**까지 해서 총 13가지인데 **과거 완료형**과 **대과거**의 구분이 사실상 불가능해서 12가지로 표기
|
|
||||||
- ## **► 영어 시제 이해하기**
|
|
||||||
- **영어의 시제는 한국어와 1대1로 대응되지 않기에 의미를 잘 이해해야함.**
|
|
||||||
- ### **기본**
|
|
||||||
- 
|
|
||||||
- **과거, 현재, 미래는 한국어와 동일**
|
|
||||||
- **대과거는 과거 시점에서 그 보다도 더 과거의 시점을 의미함**
|
|
||||||
- ### **진행형**
|
|
||||||
- 
|
|
||||||
- **과거, 현재, 미래의 그 시점에서 계속 지속중인 상황을 의미**
|
|
||||||
- |**과거진행**|**현재진행**|**미래진행**|
|
|
||||||
|:-----:|:-----:|:-----:|
|
|
||||||
|<b><span style="background-color : green; color : yellow"> was / were </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|<b><span style="background-color : green; color : yellow"> am/are/is </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|<b><span style="background-color : green; color : yellow"> will be </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|
|
|
||||||
- ### **완료형**
|
|
||||||
- 
|
|
||||||
- **각 구간 사이에서 행위가 끝나는 시제**
|
|
||||||
- 과거완료 : 대과거에서 과거 사이에 일이 완료되었음.
|
|
||||||
- 현재완료 : 과거에서 현재 사이에 일이 완료되었음.
|
|
||||||
- 미래완료 : 시작시점은 중요하지 않음. 완료되는 시기가 미래 시점이면 미래완료.
|
|
||||||
- |**과거완료**|**현재완료**|**미래완료**|
|
|
||||||
|:-----:|:-----:|:-----:|
|
|
||||||
|<b><span style="background-color : green; color : yellow"> had </span> + <span style="background-color : yellow; color : black"> p.p(과거분사) </span></b>|<b><span style="background-color : green; color : yellow"> have/has </span> + <span style="background-color : yellow; color : black"> p.p(과거분사) </span></b>|<b><span style="background-color : green; color : yellow"> will have </span> + <span style="background-color : yellow; color : black"> p.p(과거분사) </span></b>|
|
|
||||||
- ### **완료진행형**
|
|
||||||
- **완료형 + 진행형인 복합시제**
|
|
||||||
- |**과거완료진행**|**현재완료진행**|**미래완료진행**|
|
|
||||||
|:-----:|:-----:|:-----:|
|
|
||||||
|<b><span style="background-color : green; color : yellow"> had been </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|<b><span style="background-color : green; color : yellow"> have/has been </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|<b><span style="background-color : green; color : yellow"> will have been </span> + <span style="background-color : yellow; color : black"> -ing </span></b>|
|
|
||||||
- ## **► 과거 VS 현재 (feat.절대시제)**
|
|
||||||
- <b><span style="font-size : 15pt">진리/습관을 표현할 때는 무조건 현재시제를 쓴다!(절대시제)</span></b>
|
|
||||||
- **시제에 상관없이 무조건 동사는 현재형을 사용한다.**
|
|
||||||
- **과거형 문장에 인용되는 형태로 진리/습관을 나타내는 문장이 들어가더라도 인용되는 부분에서는 현재시제를 쓴다.**
|
|
||||||
- **예시**
|
|
||||||
- <b><span style="font-size : large">He <span style="background-color : yellow; color : black;">takes</span> a shower everyday.</span></b>
|
|
||||||
- 그는 매일 사워를 한다.(습관)
|
|
||||||
- <b><span style="font-size : large">The museum <span style="background-color : yellow; color : black;">opens</span> at 9 O'clock.</span></b>
|
|
||||||
- 박물관은 9시 정각에 개장한다.(습관)
|
|
||||||
- <b><span style="font-size : large">The earth <span style="background-color : yellow; color : black;">goes</span> round the sun.</span></b>
|
|
||||||
- 지구는 태양 주위를 돈다.(진리)
|
|
||||||
- <b><span style="font-size : large">I was taught that the earth <span style="background-color : yellow; color : black;">goes</span> round the sun.</span></b>
|
|
||||||
- 나는 지구가 태양 주위를 돈다는 것을 배웠었다.
|
|
||||||
- 문장 자체는 과거형이지만 진리에 해당되는 인용된 문장은 현재형을 사용했음에 주목한다.
|
|
||||||
- <b><span style="font-size : 15pt">역사적인 사실은 무조건 과거시제를 쓴다!(절대시제)</span></b>
|
|
||||||
- **시제에 상관없이 무조건 동사는 과거형을 사용한다.**
|
|
||||||
- **과거형 문장에 인용되어 들어가더라도 대과거로 바꾸는 것이 아닌 과거시제 그대로 사용한다.**
|
|
||||||
- **예시**
|
|
||||||
- <b><span style="font-size : large">Columbus <span style="background-color : yellow; color : black;">discovered</span> America in 1492.</span></b>
|
|
||||||
- 콜럼버스는 1492년에 아메리카를 발견했다.
|
|
||||||
- <b><span style="font-size : large">I was taught that Columbus <span style="background-color : yellow; color : black;">discovered</span> America in 1492.</span></b>
|
|
||||||
- 나는 콜럼버스가 1492년에 아메리카를 발견했다는 것을 배웠었다.
|
|
||||||
- 과거 시점에 배운 역사적 사실이기에 이 역사적 사실은 대과거의 시제임에도 과거형을 사용했음을 주목한다.
|
|
||||||
- ## **► 현재진행 VS 현재 (feat.현재진행형이 불가능한 동사)**
|
|
||||||
- **현재진행형은 am/are/is(인칭) + -ing(의미) 형태로 쓰이며 ~하는 중이다. 라고 해석된다.**
|
|
||||||
- **인지, 상태, 소유 등을 나타내는 동사는 현재진행형으로 사용할 수 없다.**
|
|
||||||
- **예시**
|
|
||||||
- 
|
|
||||||
- **Have 같이 여러 뜻을 가지고 있는 경우 해석에 따라 현재진행형의 가능여부가 결정된다!**
|
|
||||||
- <b><span style="font-size : 12pt">She <span style="background-color : yellow; color : black;">has</span> a lot of money.</span> -> <span style="font-size : 12pt">She <span style="background-color : red; color : yellow;">is having</span> a lot of money.</span></b>
|
|
||||||
- 그녀는 많은 돈을 소유하고 있다. -> 그녀는 많은 돈을 소유중이다.(X)
|
|
||||||
- have가 "~를 소유하다" 로 해석될 경우에는 현재진행형 사용이 불가능.
|
|
||||||
- <b><span style="font-size : 12pt">He <span style="background-color : yellow; color : black;">have</span> a breakfast now.</span> -> <span style="font-size : 12pt">He <span style="background-color : blue; color : yellow;">is having</span> a breakfast now.</span></b>
|
|
||||||
- 그는 지금 아침을 먹는다. -> 그는 지금 아침을 먹는 중이다.(O)
|
|
||||||
- have가 "-를 먹다."로 해석될 경우에는 현재진행형 사용이 가능하다.
|
|
||||||
- <b><span style="font-size : 12pt">She <span style="background-color : blue; color : yellow;">is having</span> a nice day.</span></b>
|
|
||||||
- 그녀는 좋은 날을 즐기는 중이다.
|
|
||||||
- have가 "-를 즐기다"로 해석될 경우에는 현재진행형 사용이 가능하다.
|
|
||||||
- **결론 : 현재진행형으로 사용될 수 없는 동사가 존재하고, 또한 하나의 동사에서도 해석에 따라서 사용가능여부가 달라지기도 한다!!**
|
|
||||||
@ -1,70 +0,0 @@
|
|||||||
## **► 과거 VS 현재완료**
|
|
||||||
- ### **현재완료형은 have/has(인칭) + p.p(의미)의 형태로 쓰인다.**
|
|
||||||
- <b><span style="font-size:15pt";>과거형과 현재완료형의 차이는 과거의 그 사실이<span style="background-color : yellow; color : black;"> 현재에도 영향 </span>을 미치고 있는지 여부에 따라 구분한다.</span></b>
|
|
||||||
- ### **예문(나는 다리가 부러졌다.)**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;">broke</span> my leg.</b>
|
|
||||||
- **과거에 다리가 부러졌던 사실을 의미. 현재는 다리가 멀쩡함.**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;">have broken</span> my leg.</b>
|
|
||||||
- **과거에 다리가 부러졌고, 그 결과가 지금까지 이어져옴. 즉 현재도 다리가 부러진 상태**
|
|
||||||
- **위의 예문 둘 다 "나의 다리가 부러졌다." 라고 해석되지만 의미상의 차이가 존재.**
|
|
||||||
- <b><span style="font-size : 15pt">⋇ 정리</span></b>
|
|
||||||
- **과거 : Not now (지금은 아님)**
|
|
||||||
- **현재완료 : Until now (지금까지)**
|
|
||||||
- ### **현재완료형의 종류**
|
|
||||||
- **완료**
|
|
||||||
- <b>They <span style="background-color : yellow; color : black;">have</span> just <span style="background-color : yellow; color : black;">arrived.</span></b>
|
|
||||||
- **그들은 방금 도착했다.**
|
|
||||||
- **실질적인 의미**
|
|
||||||
- **They are here.**
|
|
||||||
- **그들이 (지금) 여기 있다.**
|
|
||||||
- **계속**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;">have lived</span> here since last year.</b>
|
|
||||||
- **나는 작년부터 이곳에서 살았다.**
|
|
||||||
- **실직적인 의미**
|
|
||||||
- **I live here now.**
|
|
||||||
- **나는 지금 여기에 살고 있다.**
|
|
||||||
- **결과**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;">have broken</span> my ankle.</b>
|
|
||||||
- **나는 내 발목을 부러뜨렸다(내 발목이 부러졌다.)**
|
|
||||||
- **실질적인 의미**
|
|
||||||
- **My ankle is broken now.**
|
|
||||||
- **지금 내 발목이 부러져있다.**
|
|
||||||
- **경험**
|
|
||||||
- <b><span style="background-color : yellow; color : black;">Have</span> you <span style="background-color : yellow; color : black;">seen</span> the teacher?</b>
|
|
||||||
- **너 선생님 봤었어?**
|
|
||||||
- **실질적인 의미**
|
|
||||||
- **Where is the teacher?**
|
|
||||||
- **선생님 어디에 있어?**
|
|
||||||
- ### **현재완료형과 과거형의 뉘앙스 차이**
|
|
||||||
- **예시1**
|
|
||||||
- <b>My grandparents <span style="background-color : yellow; color : black;"> have given </span> a lot of support for me.</b>
|
|
||||||
- 조부모님은 나에게 많은 지원을 해주셨었다.(지금도 지원해주고 계심)
|
|
||||||
- <b>My grandparents <span style="background-color : yellow; color : black;"> gave</span> a lot of support for me.</b>
|
|
||||||
- 조부모님은 나에게 많은 지원을 해주셨었다.(지금은 지원 안해주고 계심)
|
|
||||||
- **둘 다 한국어로는 같은 문장이지만 현재완료형은 지원이 유지되고 있는 상태, 과거형은 현재는 지원해주고 계시지 않는 상태. 좀 더 나아가면 현재 조부모님이 편찮으시거나 이세상에 없다는 의미가 내포된 뉘앙스가 있음.**
|
|
||||||
- **예시2**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;"> have slept </span> here for two hours.</b>
|
|
||||||
- 나는 여기서 두시간을 잤었다.(방금 일어나서 하는 말)
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;">slept </span> here for two hours.</b>
|
|
||||||
- 나는 여기서 두시간을 잤었다.(어젯밤이나 이전에 여기서 잤었다는 사실을 말하는 말)
|
|
||||||
- **둘 다 마찬가지로 한국어로는 같은 문장이지만 현재완료형은 이제 막 일어나서 2시간이나 잤구나 하는 말인거고, 과거형은 어젯밤 혹은 과거에 여기서 2시간을 잤었다는 의미를 내포함.**
|
|
||||||
- **예시3**
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;"> have finished </span> my homework.</b>
|
|
||||||
- <b>I <span style="background-color : yellow; color : black;"> finished </span> my homework.</b>
|
|
||||||
- **둘 다 숙제가 끝났다는 의미지만 이 말의 뉘앙스를 따져보면 현재완료형이 맞는 표현임을 알 수 있음.**
|
|
||||||
- 보통 "나 숙제 끝났어" 라는 말은 이제 막 숙제를 끝냈을 때 하는 말이기 때문에 현재완료형이 더 적절함.
|
|
||||||
- ## **► 과거 vs 대과거(feat. 과거완료)**
|
|
||||||
- ### **대과거형은 had + p.p의 형태로 쓰인다.(과거완료도 동일한 형태)**
|
|
||||||
- ### **과거와 대과거의 비교**
|
|
||||||
- <b>1. The bus <span style="background-color : red; color : yellow;">started</span> when I <span style="background-color : red; color : yellow;">arrived</span> at the stops.</b>
|
|
||||||
- 버스가 출발한 시점과 내가 정류장에 도착한 시점이 동일함.
|
|
||||||
- 즉, 내가 정류장에 도착하자 마자 버스가 출발한 것.
|
|
||||||
- <b>2. The bus <span style="background-color : red; color : yellow;">had started</span> when I <span style="background-color : red; color : yellow;">arrived</span> at the stops.</b>
|
|
||||||
- 버스가 이미 출발한 뒤 내가 정류장에 도착한 시점.
|
|
||||||
- 즉, 버스가 출발한 시점이 내가 정류장에 도착한 시점보다 더 과거임(대과거).
|
|
||||||
- **이렇듯 과거 시점에서 그보다 더 과거를 표현할 때 대과거형을 쓴다.**
|
|
||||||
- <b><span style="font-size : 15pt">⋇ 과거완료? 대과거?</span></b>
|
|
||||||
- **형태상 대과거와 과거완료형은 같다. 그러나 의미는 다르다.**
|
|
||||||
- **위의 문단에서 2번 문장은 과거완료형으로도 볼 수 있고, 대과거형이 포함된 문장으로도 볼 수 있다.**
|
|
||||||
- **의미상으로는 과거완료형은 1번 문장과 의미가 비슷하다. 그러나 형태는 2번 문장 형태이다.**
|
|
||||||
- **이렇듯 과거완료와 대과거를 구분하는 것은 쉽지않다. 따라서 문제로 나오는 경우는 없고 그저 해석상으로 이해만 하면 된다.**
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
## **► 수동태와 능동태**
|
|
||||||
- ### **사건을 기준으로 본다면 가해자 입장에서의 문장은 능동태, 피해자의 입장에서 본다면 수동태**
|
|
||||||
- ### **예문**
|
|
||||||
- The car ran over the man.
|
|
||||||
- 그 자동차는 그 남자를 쳤다. (능동태)
|
|
||||||
- The man was run over by the car.
|
|
||||||
- 그 남자는 그 자동차에 의해서 치었다.(수동태)
|
|
||||||
- ### **수동태는 문장의 목적어가 주어가 되는 형태!**
|
|
||||||
- #### **따라서 목적어가 있는 3,4,5형식 문장이 수동태로 바꿀 수 있음**
|
|
||||||
- #### **그러나 1형식도 경우에 따라서 목적어를 가질 수 있기에 이에 대한건 후술함**
|
|
||||||
- ### **능동태 수동태의 뜻 변화**
|
|
||||||
- **능동의 의미에 -었다를 단순히 붙히는게 아닌 의미상 수동태가 되면 어떻게 되는지 주의깊게 볼 것!**
|
|
||||||
- |**능동**|->|**수동**|
|
|
||||||
|:----:|:----:|:----:|
|
|
||||||
|**말하다**|->|**듣다**|
|
|
||||||
|**때리다**|->|**맞다**|
|
|
||||||
|**찌르다**|->|**찔리다**|
|
|
||||||
|**가르치다**|->|**배우다**|
|
|
||||||
|**떠나다**|->|**남겨지다**|
|
|
||||||
- ## **► 3형식(완전 타동사)의 수동태**
|
|
||||||
- 
|
|
||||||
- ### **목적어를 주어 위치로, 주어는 by를 붙혀서 목적어 자리로, 동사는 be + p.p형태로 바꿈**
|
|
||||||
- ### **by + 주어는 전명구여서 생략 가능!**
|
|
||||||
- ### **be + p.p로 바꿀 때 be동사는 수동태의 주어(기존 목적어)에 맞게 설정(am/are/is/was/were)**
|
|
||||||
- ### **주어와 목적어는 서로 자리를 바꿀 때 대명사인 경우 격에 맞게 수정할 것!**
|
|
||||||
- **목적어 him이라면 수동태의 주어가 됐을 때는 He로 바뀌는 것 처럼 바꿔줌.**
|
|
||||||
- **일반명사라면 그대로 쓰면 됨.**
|
|
||||||
- ### **예문**
|
|
||||||
- <b><span style = "background-color : yellow; color : black; font-size : large"'>They</span> <span style = "background-color : red; color : yellow; font-size : large"'>speak</span> <span style = "background-color : green; color : white; font-size : large"'>spanish</span> in mexico.</b>
|
|
||||||
- 그들은 맥시코에서 스페인어를 말한다.
|
|
||||||
- <b><span style = "background-color : green; color : white; font-size : large"'>Spanish</span> <span style = "background-color : red; color : yellow; font-size : large"'>is spoken</span> in mexico <span style = "background-color : yellow; color : black; font-size : large"'>by them</span></b>
|
|
||||||
- 스페인어는 맥시코에서 그들에 의해 말해진다.
|
|
||||||
- ## **► 4형식(수여동사)의 수동태**
|
|
||||||
- 
|
|
||||||
- ### **기본적인 규칙은 3형식 때와 동일함**
|
|
||||||
- ### **간접목적어를 주어로 하는 수동태**
|
|
||||||
- **간접목적어를 주어 위치로 옮김**
|
|
||||||
- **동사는 수동태의 형태로 바꿔서 그대로 내려옴.**
|
|
||||||
- **동사의 목적어로서 직접 목적어를 씀.**
|
|
||||||
- **by + 주어 형태로 문장 뒤에 붙힘**
|
|
||||||
- ### **직접목적어를 주어로 하는 수동태**
|
|
||||||
- **직접목적어를 주어 위치로 옮김**
|
|
||||||
- **동사는 수동태의 형태로 바꿔서 그대로 내려옴.**
|
|
||||||
- **간접목적어 앞에 상황에 맞게 전치사(to/for/of)를 붙힌 뒤 동사 뒤에 붙힘.**
|
|
||||||
- **by + 주어 형태로 문장 뒤에 붙힘**
|
|
||||||
- ### **예문**
|
|
||||||
- <b><span style = "background-color : yellow; color : black; font-size : large"'>She</span> <span style = "background-color : red; color : yellow; font-size : large"'>gave</span> <span style = "background-color : green; color : white; font-size : large"'>him</span> <span style = "background-color : blue; color : white; font-size : large"'>the book.</span></b>
|
|
||||||
- 그녀는 그에게 그 책을 주었다.
|
|
||||||
- <b><span style = "background-color : green; color : white; font-size : large";>He</span> <span style = "background-color : red; color : yellow; font-size : large";>was given</span> <span style = "background-color : blue; color : white; font-size : large";>the book</span> <span style = "background-color : yellow; color : black; font-size : large";>by her.</span></b>
|
|
||||||
- 그는 그 책을 그녀에게로 부터 받았다.
|
|
||||||
- <b><span style = "background-color : blue; color : white; font-size : large";>The book</span> <span style = "background-color : red; color : yellow; font-size : large";>was given</span> <span style = "background-color : green; color : white; font-size : large";>to him</span> <span style = "background-color : yellow; color : black; font-size : large";>by her.</span></b>
|
|
||||||
- 그 책은 그녀로 인해 그에게 건내졌다.
|
|
||||||
- ### **모든 사역동사가 2가지의 수동태를 가지는 것은 아니다.**
|
|
||||||
- **make, sell, write, read 등의 사역동사는 직접목적어가 주어인 수동태만 가능하다.**
|
|
||||||
- ## **► 5형식(불완전타동사(사역동사, 지각동사 등등))의 수동태**
|
|
||||||
- 
|
|
||||||
- ### **기본적인 규칙은 3,4형식 때와 동일함**
|
|
||||||
- ### **목적어를 주어 위치로 옮김.**
|
|
||||||
- ### **수동태 형태로 동사를 변형**
|
|
||||||
- ### **보어는 그대로 내려옴. 경우에 따라 to가 붙음.**
|
|
||||||
- 보어는 앞에서 배울 때는 명사와 형용사만 가능하다고 했었음.
|
|
||||||
- 그러나 실제로는 그거에 더해서 -ing(동명사), to R(to 부정사), p.p(과거분사), R(동사 원형)까지 총 6가지가 가능.
|
|
||||||
- 만약 보어가 R(동사원형)형태면 동사가 연속해서 2개가 오기 때문에 구분을 해주어야 함.
|
|
||||||
- 따라서 이때는 보어 앞에 to를 붙힘.
|
|
||||||
- ### **예문**
|
|
||||||
- <b><span style = "background-color : yellow; color : black; font-size : large"'>She</span> <span style = "background-color : red; color : yellow; font-size : large"'>made</span> <span style = "background-color : blue; color : white; font-size : large"'>him</span> <span style = "background-color : pink; color : black; font-size : large"'>type the letter.</span></b>
|
|
||||||
- 그녀는 그에게 편지를 타이핑하라고 시켰다.(make가 여기서는 -를 시키다라는 사역동사로 쓰임)
|
|
||||||
- <b><span style = "background-color : blue; color : white; font-size : large"'>He</span> <span style = "background-color : red; color : yellow; font-size : large"'>was made</span> <span style = "background-color : pink; color : black; font-size : large"'>to type the letter</span> <span style = "background-color : yellow; color : black; font-size : large"'>by her.</span></b>
|
|
||||||
- 그는 그녀에 의해 편지를 타이핑하라는 지시를 받았다.
|
|
||||||
- ## **► 타동사구의 수동태**
|
|
||||||
- 
|
|
||||||
- ### **1형식 문장 뒤에 전명구가 있을 때 마치 자동사+전치사가 완전 타동사, 명사가 목적어처럼 보이는 문장처럼 해석이 가능함. 이를 바탕으로 수동태로 바꿈.**
|
|
||||||
- ### **예시**
|
|
||||||
- **She laughed. (1형식 문장)**
|
|
||||||
- 그녀는 비웃었다.
|
|
||||||
- **She laughed at him.(타동사구)**
|
|
||||||
- 그녀는 그를 향해 비웃었다.
|
|
||||||
- **He was laughed at by her. (수동태)**
|
|
||||||
- 그는 그녀에게 비웃음을 당했다.
|
|
||||||
- 여기서 보면 전치사 2개가 붙어있어서 잘못된 문장으로 보이지만 옳은 문장임!!!!!
|
|
||||||
- ## **► 중요 예문**
|
|
||||||
- **They will buy the book.**
|
|
||||||
- **The book will be bought by them.**
|
|
||||||
- 미래 시제에서 will 뒤에는 동사 원형이 오기 때문에 인칭 상관 없이 그냥 be + p.p를 쓰면 됨.
|
|
||||||
- **She didn't use sugar.**
|
|
||||||
- **Sugar was not used by her.**
|
|
||||||
- 일반동사의 부정문을 수동태로 바꿀 때는 do,does,did가 빠지고 수동태로 바뀜.
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
## **► 동사의 종류**
|
|
||||||
- ### 동사는 3가지가 존재한다.
|
|
||||||
- 1) Be 동사
|
|
||||||
- am, are, is, was, were
|
|
||||||
- 2) 조동사
|
|
||||||
- can, may, must, will
|
|
||||||
- 3) 일반동사
|
|
||||||
- Be동사, 조동사가 아닌 모든 동사들
|
|
||||||
- ## **► 조동사의 특징**
|
|
||||||
- <b><span style = "font-size : 13pt;">1) 조동사 뒤에는 반드시 <span style = "background-color : red; color : yellow;">동사 원형</span> 이 온다!</span></b>
|
|
||||||
- <b><span style = "font-size : 13pt;">2) 조동사의 부정문은 <span style = "background-color : red; color : yellow;">조동사 + not + 동사원형</span> 을 쓴다.</span></b>
|
|
||||||
- <b><span style = "font-size : 13pt;">3) 조동사는 인칭을 반영하지 않는다.(<span style = "background-color : red; color : yellow;">수일치 없음</span>)</span></b>
|
|
||||||
- <b><span style = "font-size : 13pt;">4) 조동사는 반드시 <span style = "background-color : red; color : yellow;">1개만</span> 써야한다.</span></b>
|
|
||||||
- ## **► 조동사는 문장의 맛을 더한다.**
|
|
||||||
- ### 조동사는 100%의 긍정문과 100% 부정문 사이의 존재하는 문장들을 표현할 수 있다.
|
|
||||||
- **I am a cat. (100% 긍정)**
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">must</span> be a cat.(90% 긍정)</b>
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">should</span> be a cat.(90-80% 긍정)</b>
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">ought to</span> be a cat.(90-80% 긍정)</b>
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">may be</span> be a cat.(60-50%긍정)</b>
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">might</span> be a cat.(30% 긍정)</b>
|
|
||||||
- <b>I <span style = "background-color : yellow; color : black;">can't</span> be a cat.(10% 긍정)</b>
|
|
||||||
- **I am not a cat.(0% 긍정)**
|
|
||||||
- => 이렇듯 조동사를 통해 문장 자체의 의미를 좀 더 다채롭게 부여할 수 있다.
|
|
||||||
- ## **► 준조동사 used to(~하곤 했다)**
|
|
||||||
- **I got up early in the morning. (과거)**
|
|
||||||
- 나 아침에 일찍 일어났었어.
|
|
||||||
- **I don't get up in the morning.(현재)**
|
|
||||||
- 난 아침에 일찍 일어나지 못해.
|
|
||||||
- **위의 두 문장을 통해 화자는 과거에는 일찍 일어났었지만 지금은 일찍 일어나지 못한다는 것을 알 수 있다.**
|
|
||||||
- **이것을 문장을 2개로 쓰는게 아닌 한 문장으로 바꾸면 다음과 같다.**
|
|
||||||
- **I used to get up in the morning.**
|
|
||||||
- 난 아침에 일찍 일어나곤 했다.
|
|
||||||
- 과거에는 그러했지만 지금은 그렇지 않다는 의미로 쓰이는 준조동사
|
|
||||||
- ## **► 조동사로 과거를 나타내고 싶을 때**
|
|
||||||
- **You should go now.**
|
|
||||||
- 넌 지금 가야한다. (현재)
|
|
||||||
- **You should ~~went~~ yesterday.**
|
|
||||||
- 조동사 뒤에는 동사 원형이 와야하기에 과거형을 쓰면 안됨!.
|
|
||||||
- 그렇다고 동사원형을 쓰면 현재랑 구분이 안됨.
|
|
||||||
- **조동사로 과거를 나타내고 싶을 때는 과거형이 아닌 현재완료형을 쓴다.**
|
|
||||||
- 형태만 현재완료형 인거지 현재완료 시제를 의미하는게 아님에 주의한다!!
|
|
||||||
- **You should have gone yesterday.**
|
|
||||||
- 넌 어제 갔었어야했어.
|
|
||||||
- 조동사 뒤에 나오는 현재완료형(have + p.p)는 과거형을 의미한다!
|
|
||||||
- **조동사별 과거형 예시**
|
|
||||||
- |**조동사(현재)**|**뜻**|**->**|**조동사(과거형)**|**뜻**|
|
|
||||||
|:----:|:----:|:----:|:----:|:----:|
|
|
||||||
|**must**|~임에 틀림없다.|-|**+ have + p.p**|**~이었음에 틀림없다.**|
|
|
||||||
|**might**|~일지 모른다.|-|**+ have + p.p**|**~이었을지도 모른다.**|
|
|
||||||
|**cannot**|~일리 없다.|-|**+ have + p.p**|**~이었을 리가 없다.**|
|
|
||||||
|**need not**|~할 필요 없다.|-|**+ have + p.p**|**~했어야 할 필요가 없었다.(=했다.)**|
|
|
||||||
|**ought to**|~해야만 한다.|-|**+ have + p.p**|**~을 했었어야 했다.(=안했다.)**|
|
|
||||||
|**should**|~해야만 한다.|-|**+ have + p.p**|**~을 했었어야 했다.(=안했다.)**|
|
|
||||||
- 아래 3개를 보면 과거형이 되면서 실질적인 의미가 반대가 되었음을 알 수 있다.
|
|
||||||
- 과거에 ~을 할 필요가 없었는데... => 결국 했었다는 의미
|
|
||||||
- 과거에 ~을 했었어야 했는데... => 결국 안했다는 의미
|
|
||||||
@ -1,41 +0,0 @@
|
|||||||
## **► 가정법이란?**
|
|
||||||
- ### **같은 뉘앙스를 가진 문장을 3개의 형태로 표현할 수 있다.**
|
|
||||||
- 명령법 : 가!
|
|
||||||
- 직설법 : 너! 안나가는구나!
|
|
||||||
- 가정법 : 너 나갔으면 좋겠어!
|
|
||||||
- => 위의 3형태 모두 상대가 나갔으면 좋겠다는 의미를 내포하지만 표현이 다름!
|
|
||||||
- ### **가정법 의미상의 특징**
|
|
||||||
- 가정법은 시제 + 조동사의 형태로 이루어짐.
|
|
||||||
- 가정법은 문장의 시제 기준 그 시제에서 사실이 아닌 내용을 그 이전 시제로 표현하면서 사실인 것 처럼 표현함.
|
|
||||||
- As I am not a bird, I can't fly.
|
|
||||||
- 나는 새가 아니기 때문에 나는 날 수 없다.(현재, 새X, 날 수 있음 ? X)
|
|
||||||
- If I were a bird, I could fly.(가정법)
|
|
||||||
- 내가 만약 새라면, 난 날 수 있을텐데.(과거, 새O, 날 수 있음 ? O)
|
|
||||||
- 사실상 내포하는 의미는 동일하지만 가정법에서의 표현은 현재 기준에서 반대가 되었음.
|
|
||||||
- 부정이었던 부분은 긍정으로, 현재였던 부분은 과거로 바뀌었다는 것에 주목하자!
|
|
||||||
- ## **► 가정법을 그리자!**
|
|
||||||
- ### 대과거 - 과거 - 현재 - 미래 - 대미래(?)
|
|
||||||
- 가정법을 설명하기 위해 위의 시제를 기억하자!
|
|
||||||
- ### **1) 가정법 과거 (현재 -> 과거) (가정문)**
|
|
||||||
- 현재시점에서 가정법을 사용하기 위해 현재의 이전인 과거시제를 사용해서 만드는 가정법.
|
|
||||||
- 
|
|
||||||
- ### **2) 가정법 대과거 (과거 -> 대과거) (가정문)**
|
|
||||||
- 과거시점에서 가정법을 사용하기 위해 과거의 이전인 대과거시제를 사용해서 만드는 가정법.
|
|
||||||
- 
|
|
||||||
- ### **3) 가정법 현재 (미래 -> 현재) (조건문)**
|
|
||||||
- 미래시제를 기준으로 가정법을 적용하려면 미래의 이전 시제인 현재 시제를 사용한다.
|
|
||||||
- 
|
|
||||||
- ### **4) 가정법 미래(대미래 -> 미래) (조건문)**
|
|
||||||
- 미래의 희박한 가능성, 정말 일어날거 같지 않은 일에 대해 가정법을 적용할 때 사용함.
|
|
||||||
- 해가 서쪽에서 뜬다면, 내 눈에 흙이 들어온다면 등등의 표현임.
|
|
||||||
- ## **► 가정법 과거(가정) vs. 가정법 현재(조건)**
|
|
||||||
- **가정법 현재**
|
|
||||||
- <b>If you <span style = "background-color : yellow;">have</span> a boy friend, you <span style = "background-color : yellow;">can</span> take him to take the party.</b>
|
|
||||||
- 만약 너가 남자친구가 생기면, 파티에 데리고 올 수 있어!
|
|
||||||
- 현재 남자친구가 없다는 사실 + 생기면 파티에 올 수 있다는 조건의 의미를 담고 있다.
|
|
||||||
- **가정법 과거**
|
|
||||||
- <b>If you <span style = "background-color : yellow;">had</span> a boy friend, you <span style = "background-color : yellow;">could</span> take him to take the party.</b>
|
|
||||||
- 너 남자친구 있으면, 파티에 데리고 와봐!
|
|
||||||
- 과거형으로 쓰인 가정법이므로 현재는 여기에 적힌 문장과 반대라는 뜻임.
|
|
||||||
- 즉 현재 남자친구는 없다는게 사실임.
|
|
||||||
- 이 문장의 의미는 너 남자친구 없는데 있는척 하지 말고 진짜 있으면 한번 데려와보던가! 하는 의미임.
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
## **► 가정법 과거 vs 가정법 대과거(과거완료)**
|
|
||||||
- ### **가정법 과거**
|
|
||||||
- **If I were in America, I could speak English better.**
|
|
||||||
- 내가 미국에 살았었더라면(과거), 난 영어를 잘했을 텐데...
|
|
||||||
- 지금 미국에 살고 있지도 않고, 영어도 잘하지 못함. 즉 현재 사실 반대.
|
|
||||||
- ### **가정법 대과거(과거완료)**
|
|
||||||
- **If I had been in America, I could have spoken English better.**
|
|
||||||
- 내가 옛날에 미국에서 살았었더라면, 난 영어를 잘했었을텐데...
|
|
||||||
- 과거에 영어를 잘하지 못했고, 미국에도 살지 않았었음.
|
|
||||||
- 즉 과거의 과거 대과거(과거완료) 시제로 표현함.
|
|
||||||
- ## **► 혼합 가정법**
|
|
||||||
- ### **혼합가정법?**
|
|
||||||
- **과거의 사건이 현재에 영향을 미칠 때**
|
|
||||||
- **원인과 결과가 같은 시점에 있지 않을 때**
|
|
||||||
- **이 경우에는 혼합가정법을 사용한다.**
|
|
||||||
- ### **사용방법**
|
|
||||||
- **원인은 대과거로, 결과는 과거로 표현한다.**
|
|
||||||
- **If 절은 대과거로, 주절은 과거형으로 표현한다.**
|
|
||||||
- ### **예시**
|
|
||||||
- **If I had been in America(대과거), I could speak English better.(과거)**
|
|
||||||
- 내가 과거에 미국에서 살지 않아서(**원인**), 내가 영어를 못한다.(**결과**)
|
|
||||||