typora markdown 官方快捷键/自定义/标记快捷键(查看与修改)/多种方法将markdown转word(docx)

常用

在这里插入图片描述

插入公式/段落层次设置 等

在这里插入图片描述

修改快捷键(for windows)

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

使用json with doc模式编辑(for vscode+jsonc)

在这里插入图片描述

保存修改,重启typora:

查看修改效果:

在这里插入图片描述

markdown转word(docx)

typora正式版已经开始收费
但是测试版不用,而且我测试转换的测试版最后一个测试版(beta)能够满足转换功能;

方式0(typora复制粘贴到word):

  • 转换过程其实很简单,就是全选typora中打开的markdown,然后(创建)并打开一个空的word文档(.docx)

  • 现在将内容粘贴到空.docx中即可

  • 在这里插入图片描述

  • 导航大纲也能得到保留
    在这里插入图片描述

advantage

  • 不用安装pandoc等其他软件

disadvantage

  • 对于表格的转换,可能会溢出页面,需要手动调整表格

方式1(纯pandoc CLI方式):

批量操作可以借助powershell 或bash/zsh等shell或其他编程语言来批处理

pandoc结合powershell示例

将当前目录下的所有.docx转换为md(markdown)

ls *.docx|foreach{Invoke-Expression "pandoc.exe -s $($_.Name) -o $($_.baseName).md"}

用pandoc命令行直接md文件转为docx文件
pandoc -s <source.md> -o <output.docx>

pandoc转换基本效果

在这里插入图片描述

  • 对于复杂大表格中,单格内容过多换行问题,可以适当的手动调整表格中文字字体的大小(特别是一些长公式)

方式2(typora调用padoc,GUI方式):

结合pandoc,typora支持导出为.docx格式文件

在这里插入图片描述
在这里插入图片描述

方式3(IDEA):

Markdown | IntelliJ IDEA (jetbrains.com)
使用IDEA+Pandoc
IDEA似乎只支持安装版的pandoc(zip版似支持的不好)
在这里插入图片描述

Shortcut Keys 默认快捷键大全(offical)

Summary

You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora.

You can find shortcut keys in the right side of each menu items from menu bar.

Frequently Used Shortcut Keys

Autocomplete

On macOS, you can press Esc key to open inline preview for inline math, auto-complete for emoji, etc.

File

FunctionHotkey (Windows/Linux)Hotkey (macOS)
NewCtrl + NCommand + N
New WindowCtrl + Shift + NCommand +Shift + N
New Tab(Not Supported)Command + T
OpenCtrl + OCommand + O
Open QuicklyCtrl + PCommand + Shift + O
Reopen Closed FileCtrl + Shift + TCommand + Shift + T
SaveCtrl + SCommand + S
Save As / DuplicateCtrl + Shift + SCommand + Shift + S
PreferenceCtrl + ,Command + ,
CloseCtrl + WCommand + W

Edit

FunctionHotkey (Windows/Linux)Hotkey (macOS)
New ParagraphEnterEnter
New LineShift + EnterShift + Enter
CutCtrl + XCommand + X
CopyCtrl + CCommand + C
PasteCtrl + VCommand + V
Copy As MarkdownCtrl + Shift + CCommand + Shift + C
Paste As Plain TextCtrl + Shift + VCommand + Shift + V
Select AllCtrl + ACommand + A
Select Line/Sentence Select Row (in table)Ctrl + LCommand + L
Delete Row (in table)Ctrl + Shift + BackspaceCommand + Shift + Backspace
Select Style Scope Select Cell (in table)Ctrl + ECommand + E
Select WordCtrl + DCommand + D
Delete WordCtrl + Shift + DCommand + Shift + D
Jump to TopCtrl + HomeCommand + ↑
Jump to SelectionCtrl + JCommand + J
Jump to BottomCtrl + EndCommand + ↓
FindCtrl + FCommand + F
Find NextF3 / EnterCommand + G / Enter
Find PreviousShift + F3 / Shift + EnterCommand + Shift + G / Shift + Enter
ReplaceCtrl + HCommand + H

Paragraph

FunctionHotkey (Windows/Linux)Hotkey (macOS)
Heading 1 to 6Ctrl + 1/2/3/4/5/6Command + 1/2/3/4/5/6
ParagraphCtrl + 0Command + 0
Increase Heading LevelCtrl + =Command + =
Decrease Heading LevelCtrl + -Command + -
TableCtrl + TCommand + Option + T
Code FencesCtrl + Shift + KCommand + Option + C
Math BlockCtrl + Shift + MCommand + Option + B
QuoteCtrl + Shift + QCommand + Option + Q
Ordered ListCtrl + Shift + [Command + Option + O
Unordered ListCtrl + Shift + ]Command + Option + U
IndentCtrl + [ / TabCommand + [ / Tab
OutdentCtrl + ] / Shift + TabCommand + ] / Shift + Tab

Format

FunctionHotkey (Windows/Linux)Hotkey (macOS)
StrongCtrl + BCommand + B
EmphasisCtrl + ICommand + I
UnderlineCtrl + UCommand + U
CodeCtrl + Shift + `Command + Shift + `
StrikeAlt + Shift + 5Control + Shift + `
HyperlinkCtrl + KCommand + K
ImageCtrl + Shift + ICommand + Control + I
Clear FormatCtrl + \Command + \

View

FunctionHotkey (Windows/Linux)Hotkey (macOS)
Toggle SidebarCtrl + Shift + LCommand + Shift + L
OutlineCtrl + Shift + 1Command + Control + 1
ArticlesCtrl + Shift + 2Command + Control + 2
File TreeCtrl + Shift + 3Command + Control + 3
Source Code ModeCtrl + /Command + /
Focus ModeF8F8
Typewriter ModeF9F9
Toggle FullscreenF11Command + Option + F
Actual SizeCtrl + Shift + 0(Not Supported)
Zoom InCtrl + Shift + =(Not Supported)
Zoom OutCtrl + Shift + -(Not Supported)
Switch Between Opened DocumentsCtrl + TabCommand + `
Toggle DevToolsCtrl + Shift + I-

Change Shortcut Keys

Users can set or reassign shortcut keys for commands in Typora’s menu bar. This article will shows how to do this.

macOS

We use macOS’s system feature to customize Typora’s key binding on macOS.

  1. Open System PreferenceKeyboard, select tab Shortcuts. Select App Shortcuts in its left panel.

在这里插入图片描述

  1. Click the “+” button, a dialog sheet would pop up. Select “Typora.app” from field Application, then enter the exact name of the menu command you want to add, and then type the shortcut key combination you want to assign.

    For example, assume you want to add/change the shortcut key to pin Typora’s window, you can fill the dialog box as follows:
    在这里插入图片描述

    Then Command+Shift+P will be the shortcut key for menu command “always On Top”

Windows / Linux

Tip: This requires a version of Typora ≥ v0.9.16.

  1. Open MenuPreference in Typora, then click “Open Advanced Settings”.

  2. Open and edit conf.user.json from opened “File Explore”. If there’s no such file, create one.

  3. Set or add JSON object which represents a key binding, for example:

在这里插入图片描述

  1. Restart Typora, and the new key binding will be applied.

You can set or change shortcut keys for menu items in the menu bar in native window style.

Q: Shortcut keys does not work on Ubuntu

For solutions to this problem please see:

  • https://help.ubuntu.com/community/KeyboardShortcuts and
  • https://askubuntu.com/questions/208310/ctrl-a-doesnt-work-in-browsers.
posted @   xuchaoxin1375  阅读(79)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
点击右上角即可分享
微信分享提示