Hello Word 2
A Test Post
Welcome to VuePress theme Gungnir.
Paragraphs
English
A well-known scientist (some say it was Bertrand Russell) once gave a public lecture on astronomy. He described how the earth orbits around the sun and how the sun, in turn, orbits around the center of a vast collection of stars called our galaxy. At the end of the lecture, a little old lady at the back of the room got up and said: “What you have told us is rubbish. The world is really a flat plate supported on the back of a giant tortoise.” The scientist gave a superior smile before replying, “What is the tortoise standing on.” “You’re very clever, young man, very clever,” said the old lady. “But it’s turtles all the way down!”
Most people would find the picture of our universe as an infinite tower of tortoises rather ridiculous, but why do we think we know better? What do we know about the universe, and how do we know it? Where did the universe come from, and where is it going? Did the universe have a beginning, and if so, what happened before then? What is the nature of time? Will it ever come to an end? Can we go back in time? Recent breakthroughs in physics, made possible in part by fantastic new technologies, suggest answers to some of these longstanding questions. Someday these answers may seem as obvious to us as the earth orbiting the sun – or perhaps as ridiculous as a tower of tortoises. Only time (whatever that may be) will tell. [1]
中文
一位著名的科学家(据说是 贝特朗·罗素)曾经作过一次关于天文学方面的讲演。他描述了地球如何绕着太阳运动,以及太阳又是如何绕着我们称之为星系的巨大的恒星群的中心转动。演讲结束之时,一位坐在房间后排的矮个老妇人站起来说道:“你说得这些都是废话。这个世界实际上是驮在一只大乌龟的背上的一块平板。”这位科学家很有教养地微笑着答道:“那么这只乌龟是站在什么上面的呢?”“你很聪明,年轻人,的确很聪明,”老妇人说,“不过,这是一只驮着一只一直驮下去的乌龟塔啊!”
大部分人会觉得,把我们的宇宙喻为一个无限的乌龟塔相当荒谬,可是为什么我们自以为知道得更多一些呢?我们对宇宙了解了多少?而我们又是怎样才知道的呢?宇宙从何而来又将向何处去?宇宙有开端吗?如果有的话,在这开端之前发生了什么?时间的本质是什么?它会有一个终结吗?在物理学上的一些最新突破,使一部分奇妙的新技术得以实现,从而对于回答这些长期以来悬而未决的某些问题有所启发。也许有一天这些答案会像我们认为地球绕着太阳运动那样显而易见——当然也可能像乌龟塔那般荒唐可笑。不管怎样,惟有让时间来判断了。[2]
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Code
Code Blocks
Click the green button on the upper-left corner to make the code block full screen.
import food
class Dragon:
def __init__(self, happiness):
self.happiness = happiness
def code(self):
""" just code """
self.happiness -= 60
def eat(self, n)
# just eat
self.happiness += n * food.size
me = Dragon(100)
while True:
me.code()
me.eat(10)
Code Groups
yarn add -D vuepress-theme-gungnir@next
npm install -D vuepress-theme-gungnir@next
Inline Code
const a = 1
Table
Name | Info |
---|---|
vuepress-theme-gungnir | Gungnir is a blog theme for Vuepress 2. |
tip warning danger tip middle
BadgesCharts
Chart.js
Mermaid
Images
Maths
Inline math:
Display math:
With tags:
Emojis
😄 😏 🐎 🐺
Containers
INFO
This is an info message.
TIP
This is a tip message.
WARNING
This is a warning message.
DANGER
This is a dangerous warning message.
Show me the code.
cout << "Hello World!" << "\n";
Show me the code group.
console.log("Hello World!");
print("Hello World!")
References
- Paragraphs
- English
- 中文
- H2 Heading
- H3 Heading
- Code
- Code Blocks
- Code Groups
- Inline Code
- Table
- Badges
- Charts
- Chart.js
- Mermaid
- Images
- Maths
- Emojis
- Containers
- References