mirror of
https://github.com/doocs/md.git
synced 2024-11-25 03:18:36 +08:00
Merge branch 'master' of github.com:doocs/md into feature-upload-config
This commit is contained in:
commit
b806fba293
17
.github/workflows/branch-merge.yml
vendored
Normal file
17
.github/workflows/branch-merge.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Merge Branch
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ imgbot ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
merge-branch:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: everlytic/branch-merge@1.1.0
|
||||||
|
with:
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
source_ref: ${{ github.ref }}
|
||||||
|
target_branch: 'master'
|
||||||
|
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
|
@ -21,10 +21,6 @@ const WxRenderer = function (opts) {
|
|||||||
for (let ele in themeTpl.inline) {
|
for (let ele in themeTpl.inline) {
|
||||||
if (themeTpl.inline.hasOwnProperty(ele)) {
|
if (themeTpl.inline.hasOwnProperty(ele)) {
|
||||||
let style = themeTpl.inline[ele]
|
let style = themeTpl.inline[ele]
|
||||||
if (ele === 'codespan') {
|
|
||||||
style['font-family'] = CODE_FONT_FAMILY
|
|
||||||
style['white-space'] = 'normal'
|
|
||||||
}
|
|
||||||
mapping[ele] = merge(base, style)
|
mapping[ele] = merge(base, style)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,7 +66,6 @@ const WxRenderer = function (opts) {
|
|||||||
return `
|
return `
|
||||||
<style>
|
<style>
|
||||||
.preview-wrapper pre::before {
|
.preview-wrapper pre::before {
|
||||||
font-family: "SourceSansPro", "HelveticaNeue", Arial, sans-serif;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -69,7 +69,6 @@ export default {
|
|||||||
blockquote_p: {
|
blockquote_p: {
|
||||||
'letter-spacing': '0.1em',
|
'letter-spacing': '0.1em',
|
||||||
'color': 'rgb(80, 80, 80)',
|
'color': 'rgb(80, 80, 80)',
|
||||||
'font-family': 'PingFangSC-light, PingFangTC-light, Open Sans, Helvetica Neue, sans-serif',
|
|
||||||
'font-size': '1em',
|
'font-size': '1em',
|
||||||
'display': 'block',
|
'display': 'block',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user