mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +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) {
|
||||
if (themeTpl.inline.hasOwnProperty(ele)) {
|
||||
let style = themeTpl.inline[ele]
|
||||
if (ele === 'codespan') {
|
||||
style['font-family'] = CODE_FONT_FAMILY
|
||||
style['white-space'] = 'normal'
|
||||
}
|
||||
mapping[ele] = merge(base, style)
|
||||
}
|
||||
}
|
||||
@ -70,7 +66,6 @@ const WxRenderer = function (opts) {
|
||||
return `
|
||||
<style>
|
||||
.preview-wrapper pre::before {
|
||||
font-family: "SourceSansPro", "HelveticaNeue", Arial, sans-serif;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
@ -69,7 +69,6 @@ export default {
|
||||
blockquote_p: {
|
||||
'letter-spacing': '0.1em',
|
||||
'color': 'rgb(80, 80, 80)',
|
||||
'font-family': 'PingFangSC-light, PingFangTC-light, Open Sans, Helvetica Neue, sans-serif',
|
||||
'font-size': '1em',
|
||||
'display': 'block',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user