line-markdown-parser 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/CHANGELOG.md +4 -0
- {line_markdown_parser-0.1.3/line_markdown_parser.egg-info → line_markdown_parser-0.1.4}/PKG-INFO +4 -2
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/README-ja.md +3 -1
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/README.md +3 -1
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/docs/spec.md +2 -2
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser/__init__.py +1 -1
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4/line_markdown_parser.egg-info}/PKG-INFO +4 -2
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/pyproject.toml +1 -1
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/LICENSE +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/MANIFEST.in +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/_build_backend.py +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser/_renderer.py +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser/converter.py +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser/py.typed +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/SOURCES.txt +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/dependency_links.txt +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/requires.txt +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/top_level.txt +0 -0
- {line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/setup.cfg +0 -0
{line_markdown_parser-0.1.3/line_markdown_parser.egg-info → line_markdown_parser-0.1.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: line-markdown-parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Convert LLM Markdown into readable LINE Flex Messages without runtime dependencies.
|
|
5
5
|
Author: line-markdown-parser contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -33,6 +33,8 @@ Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtim
|
|
|
33
33
|
|
|
34
34
|
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
35
35
|
|
|
36
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
37
|
+
|
|
36
38
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
37
39
|
|
|
38
40
|
## Installation
|
|
@@ -86,7 +88,7 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
86
88
|
- Images appear as labels and links, without fetching or embedding images.
|
|
87
89
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
88
90
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
89
|
-
-
|
|
91
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
90
92
|
|
|
91
93
|
## Contributing
|
|
92
94
|
|
|
@@ -4,6 +4,8 @@ LLMが生成したMarkdownを、LINEで読みやすいFlex Messageの辞書に
|
|
|
4
4
|
|
|
5
5
|
[English](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README.md)
|
|
6
6
|
|
|
7
|
+
LINE BOTでの実運用を通じて改善してきた変換処理をもとにしています。
|
|
8
|
+
|
|
7
9
|
見出し、段落、リスト、引用、コード、リンクをチャットに適したレイアウトに変換し、長文を複数メッセージに分割します。送信処理はアプリケーション側で実装してください。
|
|
8
10
|
|
|
9
11
|
## インストール
|
|
@@ -57,7 +59,7 @@ print(json.dumps(messages, ensure_ascii=False, indent=2))
|
|
|
57
59
|
- 画像はラベルとリンクで表示し、取得や埋め込みは行いません。
|
|
58
60
|
- URIアクションは `http` と `https` のみに対応します。リンク先の検証は行いません。
|
|
59
61
|
- 完全なCommonMark互換と任意のネストには対応していません。コードフェンスもすべての形式に対応しているわけではありません。
|
|
60
|
-
-
|
|
62
|
+
- 導入時は、[Flex Message Simulator](https://developers.line.biz/flex-simulator/)と利用するLINEアプリで表示を確認してください。
|
|
61
63
|
|
|
62
64
|
## 開発への参加
|
|
63
65
|
|
|
@@ -4,6 +4,8 @@ Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtim
|
|
|
4
4
|
|
|
5
5
|
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
6
6
|
|
|
7
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
8
|
+
|
|
7
9
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
8
10
|
|
|
9
11
|
## Installation
|
|
@@ -57,7 +59,7 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
57
59
|
- Images appear as labels and links, without fetching or embedding images.
|
|
58
60
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
59
61
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
60
|
-
-
|
|
62
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
61
63
|
|
|
62
64
|
## Contributing
|
|
63
65
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# API specification
|
|
2
2
|
|
|
3
|
-
`line-markdown-parser` converts Markdown strings into LINE Flex Message dictionaries without runtime dependencies or network requests. The API below applies to version 0.1.
|
|
3
|
+
`line-markdown-parser` converts Markdown strings into LINE Flex Message dictionaries without runtime dependencies or network requests. The API below applies to version 0.1.4.
|
|
4
4
|
|
|
5
5
|
## Functions
|
|
6
6
|
|
|
@@ -72,4 +72,4 @@ Only `http` and `https` receive [URI actions](https://developers.line.biz/en/ref
|
|
|
72
72
|
|
|
73
73
|
The converter returns all messages without sending or truncating them. LINE [reply](https://developers.line.biz/en/reference/messaging-api/#send-reply-message) and [push](https://developers.line.biz/en/reference/messaging-api/#send-push-message) requests accept at most five messages. Applications handle batching, reply-token restrictions, authentication, recipients, and retries.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Validate integrations using the [Flex Message Simulator](https://developers.line.biz/flex-simulator/), [message validation endpoints](https://developers.line.biz/en/reference/messaging-api/#message-objects), and target LINE clients.
|
{line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4/line_markdown_parser.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: line-markdown-parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Convert LLM Markdown into readable LINE Flex Messages without runtime dependencies.
|
|
5
5
|
Author: line-markdown-parser contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -33,6 +33,8 @@ Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtim
|
|
|
33
33
|
|
|
34
34
|
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
35
35
|
|
|
36
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
37
|
+
|
|
36
38
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
37
39
|
|
|
38
40
|
## Installation
|
|
@@ -86,7 +88,7 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
86
88
|
- Images appear as labels and links, without fetching or embedding images.
|
|
87
89
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
88
90
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
89
|
-
-
|
|
91
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
90
92
|
|
|
91
93
|
## Contributing
|
|
92
94
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{line_markdown_parser-0.1.3 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|