Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b0dd91

Browse files
committed
更新微信公众号发布文章 doc
1 parent e48abd9 commit 9b0dd91

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

docs/wechat.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
因为涉及到排版问题,而 GCTT 的原始译文都是 Markdown 格式,所以,推荐大家使用 Markdown-here 浏览器插件(参考:https://www.jianshu.com/p/4bbe8b439dadhttps://www.jianshu.com/p/e766a7ea063a )。
1212

13-
说一下我的发布流程:
13+
说一下我的发布流程(方法一)
1414

15-
1. 确定这次需要发布的文章:查看上次发布的是哪篇,然后确定这次应该发布哪篇(可以选择 subject/1 或 subject/2 中的);
15+
1. 确定这次需要发布的文章:查看上次发布的是哪篇,然后确定这次应该发布哪篇(可以选择 subject/1 或 subject/2 中的),记得一定从后往前选择,避免发重复
1616
2. 因为 studygolang.com 上面看到的是解析为 html 了的,为了方便处理,在 https://github.com/studygolang/GCTT/tree/master/published/tech 中找到原始 markdown 格式文章。(这块我考虑下怎么更方便的找到原始 markdown 文章);
1717
3. 微信中,标题以『GCTT 出品』开始(当然得是 GCTT 的文章),接上网站上发布时的文章标题,比如:『GCTT 出品』测试 Go 语言 Web 应用;
1818
4. 复制原始 markdown 文章,粘贴到微信编辑框中。将正文最开始的标题去掉。然后安装 markdown-here 的要求转换;
@@ -24,10 +24,32 @@
2424
10. 按照 https://mp.weixin.qq.com/s/bLpse9pVkj-Qa8Pqhej1kg 样子,在正文头尾加上关注公众号的文字和图片;
2525
11. 保存,可以预览看看。没问题,保存并群发。
2626

27+
方法二:
28+
29+
1. 打开 http://md.aclickall.com/
30+
2. 将待发布文章的 markdown 原文放入左侧内容区
31+
3. 代码主题 建议选择:monokai-sublime
32+
4. 点击复制
33+
5. 在公众号中,粘贴
34+
6. 如果有图片,可能需要作必要的替换
35+
7. 加上必要的头尾(参照方法一)
36+
2737
## 发布时间
2838

2939
时间一般在早上 8 点 到 10 点。
3040

3141
## 发布完后
3242

3343
可以转发朋友圈、微信群、qq 群,做推广。
44+
45+
## 目前参与人员
46+
47+
微信公众号发文安排:
48+
49+
- 周一:黄秀娇
50+
- 周二:李建
51+
- 周三:范胜玉
52+
- 周四:谭志旭
53+
- 周五:胡祖宇
54+
- 周六:徐新华(汇总?)
55+
- 周日:

template/articles/detail.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ <h1 id="title" data-id="{{.article.Id}}">
198198
{{define "css"}}
199199
<style>
200200
pre .line { margin: auto; line-height: 20px; border-bottom: none; }
201+
.image-package .image-container-fill { padding-bottom: 0 !important; }
201202
</style>
202203

203204
{{if .article.Css}}

0 commit comments

Comments
 (0)