Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a4ca08

Browse files
committed
main
1 parent8bf2b4e commit4a4ca08

File tree

7 files changed

+118
-3
lines changed

7 files changed

+118
-3
lines changed

‎docs/.vitepress/config.mts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { withMermaid } from 'vitepress-plugin-mermaid';
55
import{typeDocumentName,documentService}from'../services/DocumentService';
66
import{sidebarService}from'../services/SidebarService';
77
import{themeService}from'../services/ThemeService';
8+
importwikilinksfrom'markdown-it-wikilinks';
89
typeVitepressThemeType=Exclude<
910
Exclude<Parameters<typeofdefineConfig>[0]['markdown'],undefined>['theme'],
1011
undefined
@@ -23,6 +24,14 @@ const vitepressConfig = defineConfig({
2324
dark:awaitthemeService.getTheme('JetBrains Rider New UI theme - Dark'),
2425
},
2526
codeTransformers:[transformerTwoslash()],
27+
config:md=>{
28+
md.use(
29+
wikilinks({
30+
baseURL:'/document/',// Your base path
31+
makeAllLinksAbsolute:true,// Converts [[Page]] to /Page
32+
}),
33+
);
34+
},
2635
},
2736
locales:{
2837
root:{
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#Vim feedkeys
2+
3+
##Flags
4+
5+
-`x`: direct execution, does not push into typeahead.
6+
7+
##Direct Simulation
8+
9+
Flag`x` does not push any key-press to typeahead, it executes the simulation directly, so it will never enter operator-pending mode.
10+
Such behavior is similar to`:norm!`
11+
12+
```vim
13+
call feedkeys('d') " enter operator pending for d
14+
call feedkeys('d', 'x') " does nothing
15+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#Submodule
2+
3+
Submodule can be useful when a project is dependent on another isolated project on build.
4+
Such as a project your team is working on but maintained separately, or third party dependencies that are not available from any package manager.
5+
6+
##Add Submodule
7+
8+
```sh
9+
git submodule add<repository_url><path_to_submodule>
10+
```
11+
12+
Details of submodules can be inspected from`.gitmodules`
13+
14+
##Clone with Submodule
15+
16+
Fetching submodule on clone:
17+
18+
```sh
19+
git clone<url> --recursive
20+
```
21+
22+
If you forgot to append`--recursive` option when cloning for the first time, you can still remedy using the following command.
23+
24+
```sh
25+
git submodule update --init --recursive
26+
```

‎docs/document/Skill/PowerShell/docs/Job/Background Job.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ A background job is a job running on another PowerShell process(sub-shell) creat
2424
Start-Job -ScriptBlock { foo }
2525
```
2626

27-
###Using`&` <Badgetype="info"text="PowerShell 6+" />
27+
###Background Operator`&` <Badgetype="info"text="PowerShell 6+" />
2828

2929
Using`&` to create a background job is only equivalent to`Start-Job -ScriptBlock { ... }`
3030

3131
```ps1
3232
$job = gps pwsh &
33-
# equivalent to
33+
# equivalent to
3434
$job = sajb { gps pwsh }
3535
```
3636

3737
`&` can be recognized as a statement terminator, so you don't have to use an extra`;` for multiple expression inline.
3838

3939
```ps1
4040
gps pwsh &; rcjb $job -Wait
41-
gps pwsh & rcjb $job -Wait # ; can be elided # [!code highlight]
41+
gps pwsh & rcjb $job -Wait # ; can be elided # [!code highlight]
4242
```
4343

4444
###Passing Arguments

‎docs/services/DocumentService.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import fg from 'fast-glob';
33
importEnumerablefrom'linq';
44
import*asFileSystemfrom'../shared/FileSystem';
55
importtype{IDocumentService}from'./IDocumentService';
6+
importInstallLuaMdfrom'../document/Skill/NeoVim ColorScheme Development/docs/1. Prerequisite/1. Install lua.md';
67

78
exporttypeDocumentInfo=Record<string,{icon:string;description:string}>;
89

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"gray-matter":"^4.0.3",
1212
"linq":"^4.0.3",
1313
"markdown-it":"^14.1.0",
14+
"markdown-it-wikilinks":"^1.4.0",
1415
"octokit":"^4.0.2",
1516
"vue":"^3.4.29"
1617
},

‎pnpm-lock.yaml‎

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp