atom编辑markdown之上传图片

01atom编辑markdown之上传图片

:first-child { margin-top: 0px; }
.markdown-preview:not([data-use-github-style]) h1, .markdown-preview:not([data-use-github-style]) h2, .markdown-preview:not([data-use-github-style]) h3, .markdown-preview:not([data-use-github-style]) h4, .markdown-preview:not([data-use-github-style]) h5, .markdown-preview:not([data-use-github-style]) h6 { line-height: 1.2; margin-top: 1.5em; margin-bottom: 0.5em; color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) h1 { font-size: 2.4em; font-weight: 300; }
.markdown-preview:not([data-use-github-style]) h2 { font-size: 1.8em; font-weight: 400; }
.markdown-preview:not([data-use-github-style]) h3 { font-size: 1.5em; font-weight: 500; }
.markdown-preview:not([data-use-github-style]) h4 { font-size: 1.2em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h5 { font-size: 1.1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h6 { font-size: 1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) strong { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) del { color: rgb(124, 135, 156); }
.markdown-preview:not([data-use-github-style]) a, .markdown-preview:not([data-use-github-style]) a code { color: rgb(82, 139, 255); }
.markdown-preview:not([data-use-github-style]) img { max-width: 100%; }
.markdown-preview:not([data-use-github-style]) > p { margin-top: 0px; margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) > ul, .markdown-preview:not([data-use-github-style]) > ol { margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) blockquote { margin: 1.5em 0px; font-size: inherit; color: rgb(124, 135, 156); border-color: rgb(75, 83, 98); border-width: 4px; }
.markdown-preview:not([data-use-github-style]) hr { margin: 3em 0px; border-top-width: 2px; border-top-style: dashed; border-top-color: rgb(75, 83, 98); background: none; }
.markdown-preview:not([data-use-github-style]) table { margin: 1.5em 0px; }
.markdown-preview:not([data-use-github-style]) th { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) th, .markdown-preview:not([data-use-github-style]) td { padding: 0.66em 1em; border: 1px solid rgb(75, 83, 98); }
.markdown-preview:not([data-use-github-style]) code { color: rgb(255, 255, 255); background-color: rgb(58, 63, 75); }
.markdown-preview:not([data-use-github-style]) pre.editor-colors { margin: 1.5em 0px; padding: 1em; font-size: 0.92em; border-radius: 3px; background-color: rgb(49, 54, 63); }
.markdown-preview:not([data-use-github-style]) kbd { color: rgb(255, 255, 255); border-width: 1px 1px 2px; border-style: solid; border-color: rgb(75, 83, 98) rgb(75, 83, 98) rgb(62, 68, 81); background-color: rgb(58, 63, 75); }
.markdown-preview[data-use-github-style] { font-family: ‘Helvetica Neue‘, Helvetica, ‘Segoe UI‘, Arial, freesans, sans-serif; line-height: 1.6; word-wrap: break-word; padding: 30px; font-size: 16px; color: rgb(51, 51, 51); overflow: scroll; background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] > :first-child { margin-top: 0px !important; }
.markdown-preview[data-use-github-style] > :last-child { margin-bottom: 0px !important; }
.markdown-preview[data-use-github-style] a:not([href]) { color: inherit; text-decoration: none; }
.markdown-preview[data-use-github-style] .absent { color: rgb(204, 0, 0); }
.markdown-preview[data-use-github-style] .anchor { position: absolute; top: 0px; left: 0px; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; }
.markdown-preview[data-use-github-style] .anchor:focus { outline: none; }
.markdown-preview[data-use-github-style] h1, .markdown-preview[data-use-github-style] h2, .markdown-preview[data-use-github-style] h3, .markdown-preview[data-use-github-style] h4, .markdown-preview[data-use-github-style] h5, .markdown-preview[data-use-github-style] h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; }
.markdown-preview[data-use-github-style] h1 .octicon-link, .markdown-preview[data-use-github-style] h2 .octicon-link, .markdown-preview[data-use-github-style] h3 .octicon-link, .markdown-preview[data-use-github-style] h4 .octicon-link, .markdown-preview[data-use-github-style] h5 .octicon-link, .markdown-preview[data-use-github-style] h6 .octicon-link { display: none; color: rgb(0, 0, 0); vertical-align: middle; }
.markdown-preview[data-use-github-style] h1:hover .anchor, .markdown-preview[data-use-github-style] h2:hover .anchor, .markdown-preview[data-use-github-style] h3:hover .anchor, .markdown-preview[data-use-github-style] h4:hover .anchor, .markdown-preview[data-use-github-style] h5:hover .anchor, .markdown-preview[data-use-github-style] h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; }
.markdown-preview[data-use-github-style] h1:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h2:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h3:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h4:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h5:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h6:hover .anchor .octicon-link { display: inline-block; }
.markdown-preview[data-use-github-style] h1 tt, .markdown-preview[data-use-github-style] h2 tt, .markdown-preview[data-use-github-style] h3 tt, .markdown-preview[data-use-github-style] h4 tt, .markdown-preview[data-use-github-style] h5 tt, .markdown-preview[data-use-github-style] h6 tt, .markdown-preview[data-use-github-style] h1 code, .markdown-preview[data-use-github-style] h2 code, .markdown-preview[data-use-github-style] h3 code, .markdown-preview[data-use-github-style] h4 code, .markdown-preview[data-use-github-style] h5 code, .markdown-preview[data-use-github-style] h6 code { font-size: inherit; }
.markdown-preview[data-use-github-style] h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h1 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h2 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h3 { font-size: 1.5em; line-height: 1.43; }
.markdown-preview[data-use-github-style] h3 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h4 { font-size: 1.25em; }
.markdown-preview[data-use-github-style] h4 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h5 { font-size: 1em; }
.markdown-preview[data-use-github-style] h5 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] h6 { font-size: 1em; color: rgb(119, 119, 119); }
.markdown-preview[data-use-github-style] h6 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] p, .markdown-preview[data-use-github-style] blockquote, .markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol, .markdown-preview[data-use-github-style] dl, .markdown-preview[data-use-github-style] table, .markdown-preview[data-use-github-style] pre { margin-top: 0px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] hr { height: 4px; padding: 0px; margin: 16px 0px; border: 0px none; background-color: rgb(231, 231, 231); }
.markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol { padding-left: 2em; }
.markdown-preview[data-use-github-style] ul.no-list, .markdown-preview[data-use-github-style] ol.no-list { padding: 0px; list-style-type: none; }
.markdown-preview[data-use-github-style] ul ul, .markdown-preview[data-use-github-style] ul ol, .markdown-preview[data-use-github-style] ol ol, .markdown-preview[data-use-github-style] ol ul { margin-top: 0px; margin-bottom: 0px; }
.markdown-preview[data-use-github-style] li > p { margin-top: 16px; }
.markdown-preview[data-use-github-style] dl { padding: 0px; }
.markdown-preview[data-use-github-style] dl dt { padding: 0px; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; }
.markdown-preview[data-use-github-style] dl dd { padding: 0px 16px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] blockquote { padding: 0px 15px; color: rgb(119, 119, 119); border-left-width: 4px; border-left-style: solid; border-left-color: rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] blockquote > :first-child { margin-top: 0px; }
.markdown-preview[data-use-github-style] blockquote > :last-child { margin-bottom: 0px; }
.markdown-preview[data-use-github-style] table { display: block; width: 100%; overflow: auto; word-break: keep-all; }
.markdown-preview[data-use-github-style] table th { font-weight: bold; }
.markdown-preview[data-use-github-style] table th, .markdown-preview[data-use-github-style] table td { padding: 6px 13px; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] table tr { border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
.markdown-preview[data-use-github-style] img { max-width: 100%; box-sizing: border-box; }
.markdown-preview[data-use-github-style] .emoji { max-width: none; }
.markdown-preview[data-use-github-style] span.frame { display: block; overflow: hidden; }
.markdown-preview[data-use-github-style] span.frame > span { display: block; float: left; width: auto; padding: 7px; margin: 13px 0px 0px; overflow: hidden; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] span.frame span img { display: block; float: left; }
.markdown-preview[data-use-github-style] span.frame span span { display: block; padding: 5px 0px 0px; clear: both; color: rgb(51, 51, 51); }
.markdown-preview[data-use-github-style] span.align-center { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-center > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: center; }
.markdown-preview[data-use-github-style] span.align-center span img { margin: 0px auto; text-align: center; }
.markdown-preview[data-use-github-style] span.align-right { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-right > span { display: block; margin: 13px 0px 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] span.align-right span img { margin: 0px; text-align: right; }
.markdown-preview[data-use-github-style] span.float-left { display: block; float: left; margin-right: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-left span { margin: 13px 0px 0px; }
.markdown-preview[data-use-github-style] span.float-right { display: block; float: right; margin-left: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-right > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] code, .markdown-preview[data-use-github-style] tt { padding: 0.2em 0px; margin: 0px; font-size: 85%; border-radius: 3px; background-color: rgba(0, 0, 0, 0.0392157); }
.markdown-preview[data-use-github-style] code::before, .markdown-preview[data-use-github-style] tt::before, .markdown-preview[data-use-github-style] code::after, .markdown-preview[data-use-github-style] tt::after { letter-spacing: -0.2em; content: "?"; }
.markdown-preview[data-use-github-style] code br, .markdown-preview[data-use-github-style] tt br { display: none; }
.markdown-preview[data-use-github-style] del code { text-decoration: inherit; }
.markdown-preview[data-use-github-style] pre > code { padding: 0px; margin: 0px; font-size: 100%; word-break: normal; white-space: pre; border: 0px; background: transparent; }
.markdown-preview[data-use-github-style] .highlight { margin-bottom: 16px; }
.markdown-preview[data-use-github-style] .highlight pre, .markdown-preview[data-use-github-style] pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; border-radius: 3px; background-color: rgb(247, 247, 247); }
.markdown-preview[data-use-github-style] .highlight pre { margin-bottom: 0px; word-break: normal; }
.markdown-preview[data-use-github-style] pre { word-wrap: normal; }
.markdown-preview[data-use-github-style] pre code, .markdown-preview[data-use-github-style] pre tt { display: inline; max-width: initial; padding: 0px; margin: 0px; overflow: initial; line-height: inherit; word-wrap: normal; border: 0px; background-color: transparent; }
.markdown-preview[data-use-github-style] pre code::before, .markdown-preview[data-use-github-style] pre tt::before, .markdown-preview[data-use-github-style] pre code::after, .markdown-preview[data-use-github-style] pre tt::after { content: normal; }
.markdown-preview[data-use-github-style] kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: rgb(85, 85, 85); vertical-align: middle; border-style: solid; border-width: 1px; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(187, 187, 187); border-radius: 3px; box-shadow: rgb(187, 187, 187) 0px -1px 0px inset; background-color: rgb(252, 252, 252); }
.markdown-preview[data-use-github-style] a { color: rgb(51, 122, 183); }
.markdown-preview[data-use-github-style] code { color: inherit; }
.markdown-preview[data-use-github-style] pre.editor-colors { padding: 0.8em 1em; margin-bottom: 1em; font-size: 0.85em; border-radius: 4px; overflow: auto; }
.scrollbars-visible-always .markdown-preview pre.editor-colors::shadow .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors::shadow .horizontal-scrollbar { visibility: hidden; }
.scrollbars-visible-always .markdown-preview pre.editor-colors:hover::shadow .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors:hover::shadow .horizontal-scrollbar { visibility: visible; }
.bracket-matcher .region {
border-bottom: 1px dotted lime;
position: absolute;
}

.spell-check-misspelling .region {
border-bottom: 2px dotted rgba(255, 51, 51, 0.75);
}

pre.editor-colors,
.host {
background-color: #282c34;
color: #abb2bf;
}
pre.editor-colors .line.cursor-line,
.host .line.cursor-line {
background-color: rgba(153, 187, 255, 0.04);
}
pre.editor-colors .invisible,
.host .invisible {
color: #abb2bf;
}
pre.editor-colors .cursor,
.host .cursor {
border-left: 2px solid #528bff;
}
pre.editor-colors .selection .region,
.host .selection .region {
background-color: #3e4451;
}
pre.editor-colors .bracket-matcher .region,
.host .bracket-matcher .region {
border-bottom: 1px solid #528bff;
box-sizing: border-box;
}
pre.editor-colors .invisible-character,
.host .invisible-character {
color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .indent-guide,
.host .indent-guide {
color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .wrap-guide,
.host .wrap-guide {
background-color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .gutter .line-number,
.host .gutter .line-number {
color: #636d83;
-webkit-font-smoothing: antialiased;
}
pre.editor-colors .gutter .line-number.cursor-line,
.host .gutter .line-number.cursor-line {
color: #abb2bf;
background-color: #2c313a;
}
pre.editor-colors .gutter .line-number.cursor-line-no-selection,
.host .gutter .line-number.cursor-line-no-selection {
background-color: transparent;
}
pre.editor-colors .gutter .line-number .icon-right,
.host .gutter .line-number .icon-right {
color: #abb2bf;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before,
.host .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before {
bottom: -3px;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed::after,
.host .gutter:not(.git-diff-icon) .line-number.git-line-removed::after {
content: "";
position: absolute;
left: 0px;
bottom: 0px;
width: 25px;
border-bottom: 1px dotted rgba(224, 82, 82, 0.5);
pointer-events: none;
}
pre.editor-colors .gutter .line-number.folded,
.host .gutter .line-number.folded,
pre.editor-colors .gutter .line-number:after,
.host .gutter .line-number:after,
pre.editor-colors .fold-marker:after,
.host .fold-marker:after {
color: #abb2bf;
}
.comment {
color: #5c6370;
font-style: italic;
}
.comment .markup.link {
color: #5c6370;
}
.entity.name.type {
color: #e5c07b;
}
.entity.other.inherited-class {
color: #98c379;
}
.keyword {
color: #c678dd;
}
.keyword.control {
color: #c678dd;
}
.keyword.operator {
color: #abb2bf;
}
.keyword.other.special-method {
color: #61afef;
}
.keyword.other.unit {
color: #d19a66;
}
.storage {
color: #c678dd;
}
.storage.type.annotation,
.storage.type.primitive {
color: #c678dd;
}
.storage.modifier.package,
.storage.modifier.import {
color: #abb2bf;
}
.constant {
color: #d19a66;
}
.constant.variable {
color: #d19a66;
}
.constant.character.escape {
color: #56b6c2;
}
.constant.numeric {
color: #d19a66;
}
.constant.other.color {
color: #56b6c2;
}
.constant.other.symbol {
color: #56b6c2;
}
.variable {
color: #e06c75;
}
.variable.interpolation {
color: #be5046;
}
.variable.parameter {
color: #abb2bf;
}
.string {
color: #98c379;
}
.string.regexp {
color: #56b6c2;
}
.string.regexp .source.ruby.embedded {
color: #e5c07b;
}
.string.other.link {
color: #e06c75;
}
.punctuation.definition.comment {
color: #5c6370;
}
.punctuation.definition.method-parameters,
.punctuation.definition.function-parameters,
.punctuation.definition.parameters,
.punctuation.definition.separator,
.punctuation.definition.seperator,
.punctuation.definition.array {
color: #abb2bf;
}
.punctuation.definition.heading,
.punctuation.definition.identity {
color: #61afef;
}
.punctuation.definition.bold {
color: #e5c07b;
font-weight: bold;
}
.punctuation.definition.italic {
color: #c678dd;
font-style: italic;
}
.punctuation.section.embedded {
color: #be5046;
}
.punctuation.section.method,
.punctuation.section.class,
.punctuation.section.inner-class {
color: #abb2bf;
}
.support.class {
color: #e5c07b;
}
.support.type {
color: #56b6c2;
}
.support.function {
color: #56b6c2;
}
.support.function.any-method {
color: #61afef;
}
.entity.name.function {
color: #61afef;
}
.entity.name.class,
.entity.name.type.class {
color: #e5c07b;
}
.entity.name.section {
color: #61afef;
}
.entity.name.tag {
color: #e06c75;
}
.entity.other.attribute-name {
color: #d19a66;
}
.entity.other.attribute-name.id {
color: #61afef;
}
.meta.class {
color: #e5c07b;
}
.meta.class.body {
color: #abb2bf;
}
.meta.method-call,
.meta.method {
color: #abb2bf;
}
.meta.definition.variable {
color: #e06c75;
}
.meta.link {
color: #d19a66;
}
.meta.require {
color: #61afef;
}
.meta.selector {
color: #c678dd;
}
.meta.separator {
background-color: #373b41;
color: #abb2bf;
}
.meta.tag {
color: #abb2bf;
}
.underline {
text-decoration: underline;
}
.none {
color: #abb2bf;
}
.invalid.deprecated {
color: #523d14 !important;
background-color: #e0c285 !important;
}
.invalid.illegal {
color: #ffffff !important;
background-color: #e05252 !important;
}
.markup.bold {
color: #d19a66;
font-weight: bold;
}
.markup.changed {
color: #c678dd;
}
.markup.deleted {
color: #e06c75;
}
.markup.italic {
color: #c678dd;
font-style: italic;
}
.markup.heading {
color: #e06c75;
}
.markup.heading .punctuation.definition.heading {
color: #61afef;
}
.markup.link {
color: #c678dd;
}
.markup.inserted {
color: #98c379;
}
.markup.quote {
color: #d19a66;
}
.markup.raw {
color: #98c379;
}
.source.cs .keyword.operator {
color: #c678dd;
}
.source.css .property-name,
.source.css .property-value {
color: #828997;
}
.source.css .property-name.support,
.source.css .property-value.support {
color: #abb2bf;
}
.source.gfm .markup {
-webkit-font-smoothing: auto;
}
.source.gfm .link .entity {
color: #61afef;
}
.source.ini .keyword.other.definition.ini {
color: #e06c75;
}
.source.java .storage.modifier.import {
color: #e5c07b;
}
.source.java .storage.type {
color: #e5c07b;
}
.source.java-properties .meta.key-pair {
color: #e06c75;
}
.source.java-properties .meta.key-pair > .punctuation {
color: #abb2bf;
}
.source.js .keyword.operator {
color: #56b6c2;
}
.source.js .keyword.operator.delete,
.source.js .keyword.operator.in,
.source.js .keyword.operator.of,
.source.js .keyword.operator.instanceof,
.source.js .keyword.operator.new,
.source.js .keyword.operator.typeof,
.source.js .keyword.operator.void {
color: #c678dd;
}
.source.json .meta.structure.dictionary.json > .string.quoted.json {
color: #e06c75;
}
.source.json .meta.structure.dictionary.json > .string.quoted.json > .punctuation.string {
color: #e06c75;
}
.source.json .meta.structure.dictionary.json > .value.json > .string.quoted.json,
.source.json .meta.structure.array.json > .value.json > .string.quoted.json,
.source.json .meta.structure.dictionary.json > .value.json > .string.quoted.json > .punctuation,
.source.json .meta.structure.array.json > .value.json > .string.quoted.json > .punctuation {
color: #98c379;
}
.source.json .meta.structure.dictionary.json > .constant.language.json,
.source.json .meta.structure.array.json > .constant.language.json {
color: #56b6c2;
}
.source.ruby .constant.other.symbol > .punctuation {
color: inherit;
}
.source.python .keyword.operator.logical.python {
color: #c678dd;
}
.source.python .variable.parameter {
color: #d19a66;
}
-->

atom编辑markdown之上传图片

因为对markdown比较感兴趣,所以一直想找一款能够实现本地化的markdown编辑器,先后用过vscode、cmdmarkdown,也因为各种问题而弃坑。我对markdown编辑器的要求有两点:

  1. 支持基本的markdown语法
  2. 能够自动化上传图片
  3. 预览效果比较美观,这个比较主观。

先说下vscode,首先预览效果不是太满意,感觉不太好看,这个当然是很主观的看法。第二个,就是没找到上传图片的相关插件。

而cmdmarkdown用了一段时间,感觉bug还是挺多的,而且因为是完全基于html的,所以用的时候感觉反应比较迟钝。

于是,我把目光转向了atom,据说是个利用插件基本能实现基本上所有效果的编辑器。这篇文章就是利用atom来写的,文章目的主要是想告诉大家用atom来一键上传图片的方法。

首先,先上一张效果图:

怎么样,看起来是不是很漂亮。

1. 注册七牛账号

这里就不写怎么注册了,网址放出来

七牛官方网址

2. 下载qiniu-uploader插件

安装好qiniu-uploader后,先要对其进行设置,主要设置四个参数:

3.下载markdown-assistant插件

接下来下载markdown-assistant插件并安装,设置的时候发现,会让你填一个上传插件,而且默认已经帮你填好了qiniu-uploader,其实你也就什么都不用设置了。



这些做完以后,让我们来试一下吧,用qq截图,然后直接在atomctrl+v粘贴,弹出上传图片提示,会让你填写一个title,点击enter会自动构建一条markdown图片语句。这样上传图片就完成了,是不是很简单!

时间: 2024-10-26 14:37:13

atom编辑markdown之上传图片的相关文章

Atom与markdown

简述 Atom是github开发的开源跨平台的编辑器,Atom的强大可以与大名鼎鼎的Sublime Text相媲美.因为使用过Sublime Text,所以用Atom上手很快.这篇文章主要介绍使用Atom写markdown.之前在项目开发中都是使用.doc文件作为接口文档的载体,但是在使用中并不能很好的对比接口修改:如果使用.txt文件,有没有醒目的格式.所以,最后我们选择语法简单,方便对比的markdown来作为接口文档的载体.markdown的语法不多做介绍,主要介绍下书写和解析markdo

用WebStorm编辑Markdown

前言[转http://blog.fens.me/webstorm-markdown/] WebStorm是一个非常高效的开发工具,特别对于Web前端的开发.Markdown流行,因为其简化了HTML的语法,去掉了表单等复杂标签,以极简的语法只做网页展现.在WebStorem中编辑Markdown文档,是一种普遍的应用需求. 目录 Markdown介绍 在WebStorem中安装Markdown插件 测试 1. Markdown介绍 Markdown 是一种轻量级标记语言,创始人为约翰·格鲁伯(J

一个在线编辑markdown文档的编辑器

![mahua](mahua-logo.jpg) ##MaHua是什么? 向Mac下优秀的markdown编辑器mou致敬 #MaHua有哪些功能? * 方便的`导入导出`功能 *  直接把一个markdown的文本文件拖放到当前这个页面就可以了 *  导出为一个html格式的文件,样式一点也不会丢失 * 编辑和预览`同步滚动`,所见即所得(右上角设置) * `VIM快捷键`支持,方便vim党们快速的操作 (右上角设置) * 强大的`自定义CSS`功能,方便定制自己的展示 * 有数量也有质量的`

使用Sublime Text 2 编辑Markdown

一.安装 下载Sublime Text 2 安装 二.安装Package Control 按Ctrl + ` 打开console 粘贴代码到console并回车 重启Sublime Text 2(出现安装失败时,是网络原因,需要翻墙) import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(

用Typora编辑Markdown

目录 基础 段落和换行符 标题 引用文字 列表 任务列表 代码块 表 脚注 横向规则 YAML 目录(TOC) span元素 链接 网址 图片 重点 Strong 代码 删除线 强调 表情符号:开心: 内联数学 下标 上标 突出 基础 段落和换行符 一个段落只是一个或多个连续的文本行.在Markdown源代码中,段落由多个空行分隔.在Typora,你只需要按下来Return创建一个新的段落. 按Shift+ Return创建一个换行符.但是,大多数Markdown解析器将忽略单行断点,使其他降价

把Atom作为Markdown的IDE

需要安装的插件有: - markdown-preview 实时预览 - markdown-scroll-sync 同步滚动 - language-markdown 语言高亮 - markdown-pdf 转换输出 - markdown-image-assistant 图像粘贴.拖拽插入 - markdown-table-editor 表格编辑 - markdown-toc 自动生成toc 注意事项: 安装markdown-pdf之前,需要先安装phantomjs.如果已经安装了markdown-

vscode 编辑markdown文件

关于换行问题 在vscode中编写Markdown文件时,会遇到明明按回车换行了但是预览的时候却没有换行的情况,这时在需要换行的地方多按两次空格键,就会换行 预览markdown文件 编辑器右上角有个小图标是预览markdown文件用的,点击即可实时预览markdown文件. 预览也可用快捷键,Mac下是:shift+control+M 原文地址:https://www.cnblogs.com/knuzy/p/10435583.html

GitLab 中编辑 Markdown 技巧

目录 1. 缩进 2. 超链接 3. 换行 4. 段落 5. 标题 6. 锚点 7. 背景色 8. 右对齐 1. 缩进    2. 超链接 书写: [百度](https://www.baidu.com/) 效果: 百度 3. 换行 两个空格. 4. 段落 段落间留空行. 5. 标题 书写: # 一级标题 ## 二级标题 ### 三级标题 效果: # 一级标题 ## 二级标题 ### 三级标题 详细介绍: https://juejin.im/entry/5a557160518825734d147f

markdown怎么上传图片

将图片转为base64格式 , 在线转换地址link 语法格式 // 方式1 ![picture](base64密钥) // 方式2 ![picture][img] [img]:base64密钥 原文地址:https://www.cnblogs.com/friedCoder/p/12249527.html