Skip to content

Commit f4e3a96

Browse files
authored
Doc: Remove inline styles of README (#18)
1 parent a000f38 commit f4e3a96

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

README-zh_CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<div style="text-align: center;">
1+
<div align="center">
22
<a href="./README.md">English</a> | 简体中文
3-
<p>一本基于 <a href="https://github.com/luckrnx09/abook">abook</a> 编写的开源电子书</p>
3+
<p>一本基于 <a target="_blank" href="https://github.com/luckrnx09/abook">abook</a> 编写的开源电子书</p>
44
</div>
55

66

7-
<div style="text-align:center; margin: 2em 0;">
8-
<img src="./static/img/book_cover_zh-cn.png" style="width: 80%;" />
7+
<div align="center">
8+
<img src="./static/img/book_cover_zh-cn.png" width="60%" />
99
</div>
1010

1111

1212
《JavaScript 工程师的 Python 指南》是一本开源电子书,涵盖了从 Python 环境安装到项目开发的方方面面。本书通过案例对比了 JavaScript 和 Python 语言的异同,帮助 JavaScript 工程师快速掌握 Python 语言。
1313

14-
<div style="text-align: center; margin-bottom:2em;">
15-
<a href="https://luckrnx09.github.io/python-guide-for-javascript-engineers/zh-cn">在线阅读 🚀</a>
14+
<div align="center">
15+
<a target="_blank" href="https://luckrnx09.github.io/python-guide-for-javascript-engineers/zh-cn">在线阅读 🚀</a>
1616
</div>
1717

1818
欢迎提交 PR 对本书的内容进行补充、修正以及翻译。

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
<div style="text-align: center;">
1+
<div align="center">
22
English | <a href="./README-zh_CN.md">简体中文</a>
3-
<p>An open-source ebook powered by <a href="https://github.com/luckrnx09/abook">abook</a></p>
3+
<p>An open-source ebook powered by <a
4+
target="_blank" href="https://github.com/luckrnx09/abook">abook</a></p>
45
</div>
56

67

7-
<div style="text-align:center; margin: 2em 0;">
8-
<img src="./static/img/book_cover.png" style="width: 80%;" />
8+
<div align="center">
9+
<img src="./static/img/book_cover.png" width="60%" />
910
</div>
1011

1112

1213
The Python Guide for JavaScript Engineers is an open source ebook that covers everything from Python environment installation to project development. This book compares the similarities and differences between JavaScript and Python through cases to help JavaScript engineers quickly master the Python language.
1314

14-
<div style="text-align: center; margin-bottom: 2em;">
15-
<a href="https://luckrnx09.github.io/python-guide-for-javascript-engineers">Read it online 🚀</a>
15+
<div align="center">
16+
<a target="_blank" href="https://luckrnx09.github.io/python-guide-for-javascript-engineers">Read it online 🚀</a>
1617
</div>
1718

1819
Welcome to submit PR to supplement, revise and translate the content of this book.

0 commit comments

Comments
 (0)