使用Atom打造无懈可击的Markdown编辑器

从小白到起飞,一站解决Atom编辑器各种骚操作 一站到底解决IDE搭建问题!从基础设置、插件安装、snippets填充、到github版本控制、代码调试……本文将不断更新以求完善! 安装文本编辑器Atom 入坑Sublime、VSCode无数次后,还是回头选择了Atom IDE,因为它颜值惊艳、操作便捷、界面简单,除了许多编辑器都有的代码折叠和自动补全,还自带原生Markdown支持!!!这漂亮的实时预览和代码高亮真让人春心荡漾!并且,插件非常丰富! 于是,果断选择Atom作为本博主的创作神器,为Python开发之旅保驾护航! 官网一键安装:Ato. 阅读详情

1 安装Atom

下载安装 Atom

2 增强预览功能(markdown-preview)

Atom自带的Markdown预览插件markdown-preview功能比较简单,markdown-preview-plus对其做了功能扩展和增强。

  1. 支持预览实时渲染。(Ctrl + Shift + M)
  2. 支持Latex公式。(Ctrl + Shift + X)
    使用该插件前,需要禁用markdown-preview

3 同步滚动(markdown-scroll-sync)

可以让预览窗口和编辑窗口同步滚动

4 代码增强(language-markdown)

开起来可以是代码的自动补全, 例如,在写java代码的时候。

5 图片黏贴(markdown-image-paste)

非常重要的功能,直接决定是否选用该款markdown编辑器的一个依据。

  1. 使用截图工具将图片复制到系统剪贴板中。
  2. 在Markdown新起一行输入文件名。
  3. Ctrl + V 会自动把图片保存到Markdown文件相同目录下(因此要求Markdown文件应该先保存),并命名为刚输入的文件名,同时在刚才输入文件名行处生成img标签。

当然,如果想插入gif动图就不能这么简单了,还是老老实实地下载这个工具手工插入吧。

LICEcap: http://www.cockos.com/licecap/

5 表格编辑 (markdown-table-editor)

增强其默认的表格编辑能力,可以让编辑表格的效率更高。

7 pdf 导出 (markdown-themeable-pdf 、pdf-view)

有些工具导出pdf都是收费的,而这个是免费的。

由于GFW的问题,导致该插件使用的phantomjs模块无法安装成功,从而导出pdf报告错误。

在这里插入图片描述
解决办法是:

  1. 从官网下载phantomjs二进制安装包:http://phantomjs.org/download.html
  2. 解压下载的phantomjs-2.1.1-macosx.zip压缩文件。
  3. 添加index.js文件到解压后的目录。
  4. 将整个目录的内容拷贝到:~/.atom/packages/markdown-themeable-pdf/node_modules/phantomjs-prebuilt,注意目录phantomjs-2.1.1-macosx被重命名为phantomjs-prebuilt
  5. 重启Atom,右键->Markdown to PDF即可,生成的pdf文件在Markdown文件同目录。
    其中index.js文件内容为:
module.exports = {
  path : __dirname + '/bin/phantomjs'
}

总结

以上介绍的Atom的Markdown插件,基本上满足了我对一个Markdown编辑器的所有幻想,实时渲染、同步滚动,公式、代码、图片、表格的快捷操作与支持,以及pdf文件导出、预览等。希望此文对你有所帮助。

Atom使用教程资源大全全套.pdf Atom使用教程资源大全全套.pdf---涵盖常用的配置,使用教程,教您快速的使用atom,进入atom世界 立即下载

相关推荐

Atom-atom-markdown-toc-auto,保存时自动插入和更新目录。贡献T9MD/原子.zip

Atom-atom-markdown-toc-auto.zip,保存时自动插入和更新目录自动降价,atom是一个用web技术构建的开源文本编辑器。

Atom使用Markdown编辑器

1、增强预览 Atom自带的Markdown预览插件markdown-preview功能比较简单,markdown-preview-plus对其做了功能扩展和增强。 支持实时预览。 (Ctrl + Shift + M) 支持Latex公式。(Ctrl + Shift + X) 如果使用搜狗输入法,可能在使用Ctrl + Shift + M会遇到冲突,可以将搜狗输入法先给关了。 使用该插件前,需...

This My Life - chisj 810

信息安全与技术——(十一)恶意代码检测与防范技术

恶意代码(Malicious Code )或恶意软件(Malware )主要是指以危害信息的安全等不良意图为目的的程序,它们一般潜伏在受害计算机系统中实施破坏或窃取信息。

m0_63853448的博客 6001

Atom编辑器入门到精通(一) 安装及使用基础

Atom是GitHub推出的一款编辑器,被称为21世纪的黑客编辑器,主要的特点是现代,易用,可定制.

u010494080的专栏 10万+

(一)DaVinci Developer AutoSAR工具 如何新建SWC、Component、RTE工程,超级详细步骤,赚到

​ 1,创建SWC,第一步需要创建一个App组件类型,首先点击Object Brower菜单,然后左键Application Component Types 选项,然后右键New Application Component Type,组件类型的作用是来后续实例一个Compoent 2、 Properties 选项卡中Nane中输入Type的名字,注意根据规范命名规则已CtAp开头,其他默认就好 ​

weixin_42602687的博客 3598

别再乱删文件了!修复Print Spooler服务自动停止的3个关键检查点(附Win10/Win11实测)

本文深入解析Windows系统中Print Spooler服务自动停止的常见原因及修复方法。从第三方驱动冲突、权限与服务依赖关系到打印队列积压,提供3个关键检查点的详细排查步骤,帮助用户彻底解决打印服务异常问题,适用于Win10/Win11系统。

weixin_31569671的博客 710

Python实现爬取下载百度图片

目录 一、代码 二、运行程序 三、效果 四、总结 一、代码 主函数中的keyword变量可以改成任何你想查的东西,这里博主设置为“花”。相关函数和原理博主也给出了注释。 对于re.findall中正则表达式(.*?)和参数re.S使用可参看博主的博客: Python re.findall中正则表达式(.*?)和参数re.S使用 # coding=utf-8 """ @auth...

黄笳倞的博客 5568

AI提示词实战:用EARS语法5步搞定产品需求拆解(附完整案例)

本文详细介绍了如何运用EARS语法将模糊的产品需求进行原子化拆解,转化为清晰、可执行的结构化指令。通过一个完整的自由职业者项目管理工具案例,演示了从原始需求分析到构建增强AI提示词的五步实战流程,帮助产品经理和技术人员实现高效、精准的需求传达与协作。

nokia的博客 1054

Atom安装教程---图文详解

附带资源

Grand Examiner 5983

STM32F103新手必看:0.96寸OLED屏幕从接线到动态显示全攻略(附IIC避坑指南)

本文为STM32F103新手提供了0.96寸OLED屏幕从硬件接线到软件驱动的完整实战指南。重点解析了IIC通信的时序、设备地址(0x78/0x7A)的常见陷阱,并详细演示了如何实现字符显示与平滑滚动显示等动态效果,帮助开发者快速上手并避开常见调试难题。

stone的博客 562

Android Qcom USB Driver学习(五)

在前面的第二期中,我们知道一些非标的USB的充电类型Floatingcharger,其具有和普通DCP相似的大电流能力,但在最初检测的时候会限制Inputcurrentlimit到100mA,来进行检测是否是SDP类型,所以要支持大电流输入就需要进行vote操作,前面的几篇都有涉及,所以本文学习一下pmicusbcharger都相关的vote机制。...

Android驱动开发 2924

Atom使用教程

一、实用用法 1、打开多个窗格, 可用于对比查看代码. View -> Panes -> Split Xxx 二、快捷键 1、快速查找文件:cmd + p. a: 输入文件名搜索. b: 输入目录 + 文件名搜索. 2、切换多个页签窗口. 使用cmd + [1,2,3...]切换到第几个页签. 如: cmd + 3 切到第三个窗口. 3、新建空文件: cmd + n 4、选择同名标签, 批

theScoreONE的博客 4674

【即插即用模块】卷积篇 | TGRS 2025 | HLKConv:小核+空洞=大核,感受野一致,但更轻更准!

本文介绍了分层大核卷积模块HLKConv,该模块通过动态大核+空洞卷积实现高效感受野扩展,将超大核卷积分解为小核+空洞卷积(如53×53核用17×17+dilation=3实现),计算量仅为普通大核的1/10。模块采用双分支设计:基础卷积分支捕捉局部细节,大核空洞分支捕捉长距离关联,通过1×1卷积融合。实验表明HLKConv在红外小目标检测中优于传统大核卷积,适用于高分辨率视觉任务。代码实现了不同核尺寸的配置,输入输出特征维度保持不变,计算效率显著提升。

主要更新底层视觉(去噪、超分等)相关的科研内容,形式为【论文精读】+【论文复现】 357

Atom 打造无懈可击的 Markdown 编辑器

1. 安装 Atom 下载安装 Atom:https://atom.io/ 2. 增强预览(markdown-preview-plus) Atom 自带的 Markdown 预览插件 markdown-preview 功能比较简单,markdown-preview-plus 对其做了功能扩展和增强。 支持预览实时渲染。(Ctrl + Shift + M) 支持 Latex 公式。(Ctrl + ...

郎涯技术 657

《四》:LBE,VR 大空间系列——Pico的空间扫描方式

(这里有个选项叫高精度扫描模式,这个功能在下方详细补充)系统会根据绘制的顶点,将区域分割成若干个4X4米的小方格,我们只需要根据提示,首先进入一个方格子空间内部,然后依次凝视每个区域上下左右前后六个面的小方格组,每一面4个,直至全部消失, 消失后地面会出现一个方形行走路径,我们沿着边缘正或反走一圈即可,完成后此块区域即自动消失。不过由于pico有一个高精度扫描圈,如图加粗的圆环,这个圆环的意思是在在内部的区域扫描精度较高,越远离原点的区域误差越大,所以为了更有效的利用,建议原点设置在场地中心区域。

unitygroup的博客 2911

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

使用Atom快速打造好用的Markdown编辑器

使用Atom快速打造好用的Markdown编辑器Atom当前主流的跨平台的三大编辑器(Atom,sublime,vscode)之一今天尝试了使用Atom来打造Markdown编辑器,快速上手且易用,墙裂推荐!下面直接进入正题,一步步介绍如何使用Atom快速打造好用的Markdown编辑器下载并安装Atom首先下载并安装Atom下载链接编辑一个.md文件运行Atom新建一个markdown文件进行一些

随煜而安的专栏 1万+

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

Atom - 介绍和使用方法(好用的文本编辑器,代码提示高亮、Markdown)

一,Atom介绍 Atom是Github开源的文本编辑器,这个编辑器完全是使用Web技术构建的(基于Node-Webkit)。启动速度快,提供很多常用功能的插件和主题,可以说Atom已经足以胜任“半个IDE”了。 个人感觉有如下几个优点: (1)多平台支持(Windows、Mac、Linux) (2)界面美观、现代化,使用舒适 (3)多文件管理(Atom提供了文件树列表的功能) (4)设置管理很方便,不用像Sublime需要自己手动安装第三方管理插件 (5)由GitHub...

sunsineq的专栏 4504

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

ubunut18.04将atom打造为智能的markdown编辑器

1. 安装atom 由于自己早就安装好了,这里也不好记录详细的安装教程,为大家提供一个比较完整的参考教程: ubuntu18.04如何安装Atom 注意: 打开atom的官网非常慢,我们可以通过github下载,我下载的是1.36.0的atom-amd64.deb。 2. 新建自己的markdown文件 在菜单栏中点击File --> New File,输入以下内容后,ctrl+s 保...

lucyLee的博客 774

用Atom打造线下的Markdown编辑器(汇总其中出现的问题)

一、apm的使用 apm(Atom Package Manager)即Atom的包管理器。可在cmd中调用apm,用于安装已下载的插件。 要是用apm需在系统环境变量的path中添加关于的apm的路径,一般为“C:\Users\SenSe\AppData\Local\atom\bin”。其中SenSe为用户名。 若不满足上述要求,cmd会返回“apm 不是内部或外部命令,也不是可运行的程序或批处理...

SenSe-HJ的博客 385

Atom 的 markdown使用

[使用Atom打造无懈可击的Markdown编辑器] https://www.cnblogs.com/libin-1/p/6638165.html Atom插件和主题推荐 – native-ui https://www.jianshu.com/p/c7ec46cfb202 atom怎样设置主题,怎样修改主题 https://jingyan.baidu.com/article/6b97984dea...

吴灵辉的博客 262
上一篇: centec cnos spi 驱动调用流程
下一篇: 研发文档的编辑利器Markdown
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值