Skip to content

Commit 5703dc5

Browse files
committed
fix README
1 parent e15d7b3 commit 5703dc5

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ When creating a PDF file you can:
1717
- Tune the necessary elements using your CSS code
1818
- Use different page sizes within single pdf
1919
- Create tables in `markdown`
20+
- Use clickable hyperlinks. Thanks a lot [@thongtmtrust] (https://github.com/thongtmtrust) for ideas and collaboration.
2021

2122
The module utilizes the functions of two great libraries.
2223

@@ -48,6 +49,7 @@ pdf.add_section(Section("# Title\n", toc=False))
4849
```
4950

5051
Add a second section with external and internal hyperlinks.
52+
In the pdf file it starts on a new page.
5153

5254
```python
5355
text = """# Section with links
@@ -60,7 +62,7 @@ text = """# Section with links
6062
pdf.add_section(Section(text))
6163
```
6264

63-
Add a third section. In the pdf file it starts on a new page.
65+
Add a third section.
6466
The title is centered using CSS, included in the table of contents of the pdf file, and an image from the file `img/python.png` is embedded on the page.
6567

6668
```python

README_ru.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Оформлять нужные элементы при помощи вашего CSS кода
1212
- Использовать разные размеры страниц внутри одного pdf
1313
- Создавать таблицы в `markdown`
14+
- Использовать кликабельные гиперссылки. Спасибо [@thongtmtrust] (https://github.com/thongtmtrust) за идеи и сотрудничество!
1415

1516
Модуль использует функции двух замечательных библиотек.
1617

@@ -42,6 +43,7 @@ pdf.add_section(Section("# Title\n", toc=False))
4243
```
4344

4445
Добавляем вторую секцию с внешними и внутренними гипер-ссылками.
46+
В pdf-файле она начинается с новой страницы.
4547

4648
```python
4749
text = """# Section with links
@@ -54,7 +56,7 @@ text = """# Section with links
5456
pdf.add_section(Section(text))
5557
```
5658

57-
Добавляем третью секцию. В pdf-файле она начинается с новой страницы.
59+
Добавляем третью секцию.
5860
Заголовок центрируется при помощи CSS, включается в оглавление pdf-файла и на страницу встраивается изображение из файла `img/python.png`.
5961

6062
```python

history.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
+ Clickable hyperlinks.
22

3-
Thanks a lot [@thongtmtrust] (https://github.com/thongtmtrust) for ideas and collaboration.
4-
53
07.03.2025 ver.1.4
64
------------------
75

0 commit comments

Comments
 (0)