podlite desktop
0.4.0





在此處下載Podlite編輯器的最新版本:
=markdown -Markdown Block您可以切換以編寫github調味的降價(GFM)。
示例:
=begin markdown
# Cases
*Write* the documentation with the markup you __love__!
* item1
* item2
* ~~sub item1~~
* sub item2
=end markdown
在pod6.in中打開此示例
=useReact , =React其他塊,以支持“ podlite for Web”軟件包有關更多信息,請閱讀以下文章:使用Podlite for Web啟動您自己的博客/網站
=toc添加目錄示例:
=Toc head1, head2, head3
=for Toc :title('Table of contents')
head1, head2, head3
=picture - 在帖子中使用圖像或視頻例子:
=picture gatsby-astronaut.png
=picture some-video.mp4
=picture some-video.mp4
This is a caption!
=Mermaid - 使用圖表為了渲染美麗的圖形,序列和甘特圖和流程圖,可以使用=Mermaid魚塊。
=begin Mermaid
graph LR
A-->B
B-->C
C-->A
D-->C
=end Mermaid

在pod6.in中打開此示例
=Mermaid
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}
C --> D

在pod6.in中打開此示例
=Mermaid
graph TD
A(Coffee machine <br>not working) --> B{Machine has power?}
B -->|No| H(Plug in and turn on)
B -->|Yes| C{Out of beans or water?} -->|Yes| G(Refill beans and water)
C -->|No| D{Filter warning?} -->|Yes| I(Replace or clean filter)
D -->|No| F(Send for repair)

在pod6.in中打開此示例
=Mermaid
sequenceDiagram
autonumber
Student->>Admin: Can I enrol this semester?
loop enrolmentCheck
Admin->>Admin: Check previous results
end
Note right of Admin: Exam results may <br> be delayed
Admin-->>Student: Enrolment success
Admin->>Professor: Assign student to tutor
Professor-->>Admin: Student is assigned

在pod6.in中打開此示例
=Mermaid
classDiagram
Person <|-- Student
Person <|-- Professor
Person : +String name
Person : +String phoneNumber
Person : +String emailAddress
Person: +purchaseParkingPass()
Address "1" <-- "0..1" Person:lives at
class Student{
+int studentNumber
+int averageMark
+isEligibleToEnrol()
+getSeminarsTaken()
}
class Professor{
+int salary
}
class Address{
+String street
+String city
+String state
+int postalCode
+String country
-validate()
+outputAsLabel()
}

在pod6.in中打開此示例
=Mermaid
gantt
title Example Gantt diagram
dateFormat YYYY-MM-DD
section Team 1
Research & requirements :done, a1, 2021-04-08, 2021-04-10
Review & documentation : after a1, 20d
section Team 2
Implementation :crit, active, 2021-04-25 , 20d
Testing :crit, 20d

在pod6.in中打開此示例
圖是通過使用箭頭連接器鏈接文本標籤創建的。您可以選擇不同的形狀,將標籤添加到連接器中,以及樣式的連接器和形狀。 =Diagram使用美人魚圖表和圖表工具。完整語法的美人魚文檔
Podlite是一種基於輕量級的標記語言,旨在靈活性和易用性。
Podite的規範:podlite.org/specification
最小,輕巧的入門劑,用於使用NexJ和Podlite標記語言創建靜態博客/站點
podlite在線編輯器:podlite在線:pod6.in
這是一個開源程序。隨意分叉並做出貢獻。
為了保持本文檔與最後一個版本之間的匹配,請在專用的開發分支機構上貢獻並提取請求。

版權(C)2020-2024 Alexandr Zahatski
根據MIT許可發布。