markitdown-cosense 0.2.0__tar.gz → 0.3.0__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.
Files changed (35) hide show
  1. markitdown_cosense-0.3.0/Cargo.lock +616 -0
  2. markitdown_cosense-0.3.0/Cargo.toml +11 -0
  3. {markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info → markitdown_cosense-0.3.0}/PKG-INFO +19 -24
  4. {markitdown_cosense-0.2.0 → markitdown_cosense-0.3.0}/README.md +7 -7
  5. markitdown_cosense-0.3.0/crates/cosense-core/Cargo.toml +15 -0
  6. markitdown_cosense-0.3.0/crates/cosense-core/src/ast.rs +87 -0
  7. markitdown_cosense-0.3.0/crates/cosense-core/src/inline.rs +261 -0
  8. markitdown_cosense-0.3.0/crates/cosense-core/src/lib.rs +16 -0
  9. markitdown_cosense-0.3.0/crates/cosense-core/src/parser.rs +440 -0
  10. markitdown_cosense-0.3.0/crates/cosense-core/src/render_markdown.rs +147 -0
  11. markitdown_cosense-0.3.0/crates/cosense-core/tests/conformance.rs +47 -0
  12. markitdown_cosense-0.3.0/crates/cosense-core/tests/properties.rs +72 -0
  13. markitdown_cosense-0.3.0/markitdown-cosense/Cargo.toml +18 -0
  14. markitdown_cosense-0.3.0/markitdown-cosense/README.md +40 -0
  15. markitdown_cosense-0.3.0/markitdown-cosense/src/lib.rs +23 -0
  16. markitdown_cosense-0.3.0/markitdown-cosense/tests/integration/test_markitdown_plugin.py +130 -0
  17. markitdown_cosense-0.3.0/markitdown-cosense/tests/test_cosense_notation.txt +169 -0
  18. markitdown_cosense-0.3.0/markitdown-cosense/tests/unit/test_decision_table.py +49 -0
  19. markitdown_cosense-0.3.0/markitdown-cosense/uv.lock +757 -0
  20. {markitdown_cosense-0.2.0 → markitdown_cosense-0.3.0}/pyproject.toml +22 -28
  21. {markitdown_cosense-0.2.0/src → markitdown_cosense-0.3.0/python}/markitdown_cosense/__init__.py +7 -1
  22. markitdown_cosense-0.3.0/python/markitdown_cosense/_core.pyi +4 -0
  23. markitdown_cosense-0.3.0/python/markitdown_cosense/_plugin.py +55 -0
  24. markitdown_cosense-0.3.0/python/markitdown_cosense/py.typed +0 -0
  25. markitdown_cosense-0.2.0/LICENSE +0 -21
  26. markitdown_cosense-0.2.0/PKG-INFO +0 -68
  27. markitdown_cosense-0.2.0/setup.cfg +0 -4
  28. markitdown_cosense-0.2.0/src/markitdown_cosense/_plugin.py +0 -82
  29. markitdown_cosense-0.2.0/src/markitdown_cosense/parser.py +0 -381
  30. markitdown_cosense-0.2.0/src/markitdown_cosense/renderer.py +0 -225
  31. markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info/SOURCES.txt +0 -13
  32. markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info/dependency_links.txt +0 -1
  33. markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info/entry_points.txt +0 -2
  34. markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info/requires.txt +0 -7
  35. markitdown_cosense-0.2.0/src/markitdown_cosense.egg-info/top_level.txt +0 -1
@@ -0,0 +1,616 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.4"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "autocfg"
16
+ version = "1.5.1"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
19
+
20
+ [[package]]
21
+ name = "bit-set"
22
+ version = "0.8.0"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
25
+ dependencies = [
26
+ "bit-vec",
27
+ ]
28
+
29
+ [[package]]
30
+ name = "bit-vec"
31
+ version = "0.8.0"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
34
+
35
+ [[package]]
36
+ name = "bitflags"
37
+ version = "2.13.0"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
40
+
41
+ [[package]]
42
+ name = "bumpalo"
43
+ version = "3.20.3"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
46
+
47
+ [[package]]
48
+ name = "cfg-if"
49
+ version = "1.0.4"
50
+ source = "registry+https://github.com/rust-lang/crates.io-index"
51
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
52
+
53
+ [[package]]
54
+ name = "cosense-core"
55
+ version = "0.3.0"
56
+ dependencies = [
57
+ "proptest",
58
+ "regex",
59
+ "serde",
60
+ "serde_json",
61
+ ]
62
+
63
+ [[package]]
64
+ name = "cosense-py"
65
+ version = "0.3.0"
66
+ dependencies = [
67
+ "cosense-core",
68
+ "pyo3",
69
+ ]
70
+
71
+ [[package]]
72
+ name = "cosense-wasm"
73
+ version = "0.3.0"
74
+ dependencies = [
75
+ "cosense-core",
76
+ "wasm-bindgen",
77
+ ]
78
+
79
+ [[package]]
80
+ name = "errno"
81
+ version = "0.3.14"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
84
+ dependencies = [
85
+ "libc",
86
+ "windows-sys",
87
+ ]
88
+
89
+ [[package]]
90
+ name = "fastrand"
91
+ version = "2.4.1"
92
+ source = "registry+https://github.com/rust-lang/crates.io-index"
93
+ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
94
+
95
+ [[package]]
96
+ name = "fnv"
97
+ version = "1.0.7"
98
+ source = "registry+https://github.com/rust-lang/crates.io-index"
99
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
100
+
101
+ [[package]]
102
+ name = "getrandom"
103
+ version = "0.3.4"
104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
105
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
106
+ dependencies = [
107
+ "cfg-if",
108
+ "libc",
109
+ "r-efi 5.3.0",
110
+ "wasip2",
111
+ ]
112
+
113
+ [[package]]
114
+ name = "getrandom"
115
+ version = "0.4.3"
116
+ source = "registry+https://github.com/rust-lang/crates.io-index"
117
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
118
+ dependencies = [
119
+ "cfg-if",
120
+ "libc",
121
+ "r-efi 6.0.0",
122
+ ]
123
+
124
+ [[package]]
125
+ name = "heck"
126
+ version = "0.5.0"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
129
+
130
+ [[package]]
131
+ name = "indoc"
132
+ version = "2.0.7"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
135
+ dependencies = [
136
+ "rustversion",
137
+ ]
138
+
139
+ [[package]]
140
+ name = "itoa"
141
+ version = "1.0.18"
142
+ source = "registry+https://github.com/rust-lang/crates.io-index"
143
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
144
+
145
+ [[package]]
146
+ name = "libc"
147
+ version = "0.2.186"
148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
149
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
150
+
151
+ [[package]]
152
+ name = "linux-raw-sys"
153
+ version = "0.12.1"
154
+ source = "registry+https://github.com/rust-lang/crates.io-index"
155
+ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
156
+
157
+ [[package]]
158
+ name = "memchr"
159
+ version = "2.8.3"
160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
161
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
162
+
163
+ [[package]]
164
+ name = "memoffset"
165
+ version = "0.9.1"
166
+ source = "registry+https://github.com/rust-lang/crates.io-index"
167
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
168
+ dependencies = [
169
+ "autocfg",
170
+ ]
171
+
172
+ [[package]]
173
+ name = "num-traits"
174
+ version = "0.2.19"
175
+ source = "registry+https://github.com/rust-lang/crates.io-index"
176
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
177
+ dependencies = [
178
+ "autocfg",
179
+ ]
180
+
181
+ [[package]]
182
+ name = "once_cell"
183
+ version = "1.21.4"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
186
+
187
+ [[package]]
188
+ name = "portable-atomic"
189
+ version = "1.13.1"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
192
+
193
+ [[package]]
194
+ name = "ppv-lite86"
195
+ version = "0.2.21"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
198
+ dependencies = [
199
+ "zerocopy",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "proc-macro2"
204
+ version = "1.0.106"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
207
+ dependencies = [
208
+ "unicode-ident",
209
+ ]
210
+
211
+ [[package]]
212
+ name = "proptest"
213
+ version = "1.11.0"
214
+ source = "registry+https://github.com/rust-lang/crates.io-index"
215
+ checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744"
216
+ dependencies = [
217
+ "bit-set",
218
+ "bit-vec",
219
+ "bitflags",
220
+ "num-traits",
221
+ "rand",
222
+ "rand_chacha",
223
+ "rand_xorshift",
224
+ "regex-syntax",
225
+ "rusty-fork",
226
+ "tempfile",
227
+ "unarray",
228
+ ]
229
+
230
+ [[package]]
231
+ name = "pyo3"
232
+ version = "0.25.1"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a"
235
+ dependencies = [
236
+ "indoc",
237
+ "libc",
238
+ "memoffset",
239
+ "once_cell",
240
+ "portable-atomic",
241
+ "pyo3-build-config",
242
+ "pyo3-ffi",
243
+ "pyo3-macros",
244
+ "unindent",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "pyo3-build-config"
249
+ version = "0.25.1"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "458eb0c55e7ece017adeba38f2248ff3ac615e53660d7c71a238d7d2a01c7598"
252
+ dependencies = [
253
+ "once_cell",
254
+ "target-lexicon",
255
+ ]
256
+
257
+ [[package]]
258
+ name = "pyo3-ffi"
259
+ version = "0.25.1"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "7114fe5457c61b276ab77c5055f206295b812608083644a5c5b2640c3102565c"
262
+ dependencies = [
263
+ "libc",
264
+ "pyo3-build-config",
265
+ ]
266
+
267
+ [[package]]
268
+ name = "pyo3-macros"
269
+ version = "0.25.1"
270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
271
+ checksum = "a8725c0a622b374d6cb051d11a0983786448f7785336139c3c94f5aa6bef7e50"
272
+ dependencies = [
273
+ "proc-macro2",
274
+ "pyo3-macros-backend",
275
+ "quote",
276
+ "syn",
277
+ ]
278
+
279
+ [[package]]
280
+ name = "pyo3-macros-backend"
281
+ version = "0.25.1"
282
+ source = "registry+https://github.com/rust-lang/crates.io-index"
283
+ checksum = "4109984c22491085343c05b0dbc54ddc405c3cf7b4374fc533f5c3313a572ccc"
284
+ dependencies = [
285
+ "heck",
286
+ "proc-macro2",
287
+ "pyo3-build-config",
288
+ "quote",
289
+ "syn",
290
+ ]
291
+
292
+ [[package]]
293
+ name = "quick-error"
294
+ version = "1.2.3"
295
+ source = "registry+https://github.com/rust-lang/crates.io-index"
296
+ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
297
+
298
+ [[package]]
299
+ name = "quote"
300
+ version = "1.0.46"
301
+ source = "registry+https://github.com/rust-lang/crates.io-index"
302
+ checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
303
+ dependencies = [
304
+ "proc-macro2",
305
+ ]
306
+
307
+ [[package]]
308
+ name = "r-efi"
309
+ version = "5.3.0"
310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
311
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
312
+
313
+ [[package]]
314
+ name = "r-efi"
315
+ version = "6.0.0"
316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
317
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
318
+
319
+ [[package]]
320
+ name = "rand"
321
+ version = "0.9.4"
322
+ source = "registry+https://github.com/rust-lang/crates.io-index"
323
+ checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea"
324
+ dependencies = [
325
+ "rand_chacha",
326
+ "rand_core",
327
+ ]
328
+
329
+ [[package]]
330
+ name = "rand_chacha"
331
+ version = "0.9.0"
332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
333
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
334
+ dependencies = [
335
+ "ppv-lite86",
336
+ "rand_core",
337
+ ]
338
+
339
+ [[package]]
340
+ name = "rand_core"
341
+ version = "0.9.5"
342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
343
+ checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
344
+ dependencies = [
345
+ "getrandom 0.3.4",
346
+ ]
347
+
348
+ [[package]]
349
+ name = "rand_xorshift"
350
+ version = "0.4.0"
351
+ source = "registry+https://github.com/rust-lang/crates.io-index"
352
+ checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a"
353
+ dependencies = [
354
+ "rand_core",
355
+ ]
356
+
357
+ [[package]]
358
+ name = "regex"
359
+ version = "1.12.4"
360
+ source = "registry+https://github.com/rust-lang/crates.io-index"
361
+ checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba"
362
+ dependencies = [
363
+ "aho-corasick",
364
+ "memchr",
365
+ "regex-automata",
366
+ "regex-syntax",
367
+ ]
368
+
369
+ [[package]]
370
+ name = "regex-automata"
371
+ version = "0.4.14"
372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
373
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
374
+ dependencies = [
375
+ "aho-corasick",
376
+ "memchr",
377
+ "regex-syntax",
378
+ ]
379
+
380
+ [[package]]
381
+ name = "regex-syntax"
382
+ version = "0.8.11"
383
+ source = "registry+https://github.com/rust-lang/crates.io-index"
384
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
385
+
386
+ [[package]]
387
+ name = "rustix"
388
+ version = "1.1.4"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
391
+ dependencies = [
392
+ "bitflags",
393
+ "errno",
394
+ "libc",
395
+ "linux-raw-sys",
396
+ "windows-sys",
397
+ ]
398
+
399
+ [[package]]
400
+ name = "rustversion"
401
+ version = "1.0.23"
402
+ source = "registry+https://github.com/rust-lang/crates.io-index"
403
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
404
+
405
+ [[package]]
406
+ name = "rusty-fork"
407
+ version = "0.3.1"
408
+ source = "registry+https://github.com/rust-lang/crates.io-index"
409
+ checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2"
410
+ dependencies = [
411
+ "fnv",
412
+ "quick-error",
413
+ "tempfile",
414
+ "wait-timeout",
415
+ ]
416
+
417
+ [[package]]
418
+ name = "serde"
419
+ version = "1.0.228"
420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
421
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
422
+ dependencies = [
423
+ "serde_core",
424
+ "serde_derive",
425
+ ]
426
+
427
+ [[package]]
428
+ name = "serde_core"
429
+ version = "1.0.228"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
432
+ dependencies = [
433
+ "serde_derive",
434
+ ]
435
+
436
+ [[package]]
437
+ name = "serde_derive"
438
+ version = "1.0.228"
439
+ source = "registry+https://github.com/rust-lang/crates.io-index"
440
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
441
+ dependencies = [
442
+ "proc-macro2",
443
+ "quote",
444
+ "syn",
445
+ ]
446
+
447
+ [[package]]
448
+ name = "serde_json"
449
+ version = "1.0.150"
450
+ source = "registry+https://github.com/rust-lang/crates.io-index"
451
+ checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
452
+ dependencies = [
453
+ "itoa",
454
+ "memchr",
455
+ "serde",
456
+ "serde_core",
457
+ "zmij",
458
+ ]
459
+
460
+ [[package]]
461
+ name = "syn"
462
+ version = "2.0.118"
463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
464
+ checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
465
+ dependencies = [
466
+ "proc-macro2",
467
+ "quote",
468
+ "unicode-ident",
469
+ ]
470
+
471
+ [[package]]
472
+ name = "target-lexicon"
473
+ version = "0.13.5"
474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
475
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
476
+
477
+ [[package]]
478
+ name = "tempfile"
479
+ version = "3.27.0"
480
+ source = "registry+https://github.com/rust-lang/crates.io-index"
481
+ checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
482
+ dependencies = [
483
+ "fastrand",
484
+ "getrandom 0.4.3",
485
+ "once_cell",
486
+ "rustix",
487
+ "windows-sys",
488
+ ]
489
+
490
+ [[package]]
491
+ name = "unarray"
492
+ version = "0.1.4"
493
+ source = "registry+https://github.com/rust-lang/crates.io-index"
494
+ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
495
+
496
+ [[package]]
497
+ name = "unicode-ident"
498
+ version = "1.0.24"
499
+ source = "registry+https://github.com/rust-lang/crates.io-index"
500
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
501
+
502
+ [[package]]
503
+ name = "unindent"
504
+ version = "0.2.4"
505
+ source = "registry+https://github.com/rust-lang/crates.io-index"
506
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
507
+
508
+ [[package]]
509
+ name = "wait-timeout"
510
+ version = "0.2.1"
511
+ source = "registry+https://github.com/rust-lang/crates.io-index"
512
+ checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
513
+ dependencies = [
514
+ "libc",
515
+ ]
516
+
517
+ [[package]]
518
+ name = "wasip2"
519
+ version = "1.0.4+wasi-0.2.12"
520
+ source = "registry+https://github.com/rust-lang/crates.io-index"
521
+ checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
522
+ dependencies = [
523
+ "wit-bindgen",
524
+ ]
525
+
526
+ [[package]]
527
+ name = "wasm-bindgen"
528
+ version = "0.2.126"
529
+ source = "registry+https://github.com/rust-lang/crates.io-index"
530
+ checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4"
531
+ dependencies = [
532
+ "cfg-if",
533
+ "once_cell",
534
+ "rustversion",
535
+ "wasm-bindgen-macro",
536
+ "wasm-bindgen-shared",
537
+ ]
538
+
539
+ [[package]]
540
+ name = "wasm-bindgen-macro"
541
+ version = "0.2.126"
542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
543
+ checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1"
544
+ dependencies = [
545
+ "quote",
546
+ "wasm-bindgen-macro-support",
547
+ ]
548
+
549
+ [[package]]
550
+ name = "wasm-bindgen-macro-support"
551
+ version = "0.2.126"
552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
553
+ checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e"
554
+ dependencies = [
555
+ "bumpalo",
556
+ "proc-macro2",
557
+ "quote",
558
+ "syn",
559
+ "wasm-bindgen-shared",
560
+ ]
561
+
562
+ [[package]]
563
+ name = "wasm-bindgen-shared"
564
+ version = "0.2.126"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24"
567
+ dependencies = [
568
+ "unicode-ident",
569
+ ]
570
+
571
+ [[package]]
572
+ name = "windows-link"
573
+ version = "0.2.1"
574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
575
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
576
+
577
+ [[package]]
578
+ name = "windows-sys"
579
+ version = "0.61.2"
580
+ source = "registry+https://github.com/rust-lang/crates.io-index"
581
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
582
+ dependencies = [
583
+ "windows-link",
584
+ ]
585
+
586
+ [[package]]
587
+ name = "wit-bindgen"
588
+ version = "0.57.1"
589
+ source = "registry+https://github.com/rust-lang/crates.io-index"
590
+ checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
591
+
592
+ [[package]]
593
+ name = "zerocopy"
594
+ version = "0.8.53"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "75726053136156d419e285b9b7eddaaea9e3fea6ce32eed44a89901f0bd98de1"
597
+ dependencies = [
598
+ "zerocopy-derive",
599
+ ]
600
+
601
+ [[package]]
602
+ name = "zerocopy-derive"
603
+ version = "0.8.53"
604
+ source = "registry+https://github.com/rust-lang/crates.io-index"
605
+ checksum = "4714fd92cf900833d49538023a9b3915155210801d1c1169eba513b2addefd71"
606
+ dependencies = [
607
+ "proc-macro2",
608
+ "quote",
609
+ "syn",
610
+ ]
611
+
612
+ [[package]]
613
+ name = "zmij"
614
+ version = "1.0.21"
615
+ source = "registry+https://github.com/rust-lang/crates.io-index"
616
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
@@ -0,0 +1,11 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/cosense-core", "markitdown-cosense"]
4
+
5
+ # Version and shared metadata live here once; every crate inherits them with
6
+ # `<field>.workspace = true`, so a release bumps a single line.
7
+ [workspace.package]
8
+ version = "0.3.0"
9
+ edition = "2021"
10
+ license = "MIT"
11
+ repository = "https://github.com/kazu728/markitdown-cosense"
@@ -1,13 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markitdown-cosense
3
- Version: 0.2.0
4
- Summary: A markitdown plugin for converting Cosense notation to Markdown
5
- Author-email: kazu728 <kazuki.matsuo.728@gmail.com>
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/kazu728/markitdown-cosense
8
- Project-URL: Repository, https://github.com/kazu728/markitdown-cosense
9
- Project-URL: Issues, https://github.com/kazu728/markitdown-cosense/issues
10
- Keywords: markitdown,cosense,markdown,converter,plugin
3
+ Version: 0.3.0
11
4
  Classifier: Development Status :: 3 - Alpha
12
5
  Classifier: Intended Audience :: Developers
13
6
  Classifier: License :: OSI Approved :: MIT License
@@ -15,30 +8,31 @@ Classifier: Programming Language :: Python :: 3
15
8
  Classifier: Programming Language :: Python :: 3.10
16
9
  Classifier: Programming Language :: Python :: 3.11
17
10
  Classifier: Programming Language :: Python :: 3.12
18
- Requires-Python: >=3.10
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
11
+ Classifier: Programming Language :: Python :: 3.13
21
12
  Requires-Dist: markitdown>=0.1.1
22
- Provides-Extra: dev
23
- Requires-Dist: pytest>=8.3.5; extra == "dev"
24
- Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
25
- Requires-Dist: ruff>=0.11.12; extra == "dev"
26
- Requires-Dist: pyright>=1.1.390; extra == "dev"
27
- Dynamic: license-file
13
+ Summary: A markitdown plugin for converting Cosense notation to Markdown
14
+ Keywords: markitdown,cosense,markdown,converter,plugin
15
+ Author-email: kazu728 <kazuki.matsuo.728@gmail.com>
16
+ License: MIT
17
+ Requires-Python: >=3.10
18
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
19
+ Project-URL: Homepage, https://github.com/kazu728/markitdown-cosense
20
+ Project-URL: Issues, https://github.com/kazu728/markitdown-cosense/issues
21
+ Project-URL: Repository, https://github.com/kazu728/markitdown-cosense
28
22
 
29
23
  # markitdown-cosense
30
24
 
31
- A [MarkItDown](https://github.com/microsoft/markitdown) plugin that converts Cosense notation into Markdown.
25
+ A [MarkItDown](https://github.com/microsoft/markitdown) plugin that converts Cosense notation into Markdown. Conversion runs in a Rust core (`cosense-core`) shared with a browser wasm module.
32
26
 
33
27
  ## Features
34
28
  - Headings: `[* Heading]` → `# Heading`
35
- - Text styles: `[/ italic]`, `[** bold]`, `[*/ strong italic]`, `[- strikethrough]`
29
+ - Text styles: `[/ italic]`, `[[bold]]`, `[*/ strong italic]`, `[*- bold strike]`, `[/- italic strike]`, `[- strikethrough]`
36
30
  - Lists: indented bullets using spaces, tabs, or full-width spaces
37
- - Code blocks: `code:language` and fenced ``` ``` sections
38
- - Tables: `table:Title` directives with indented rows
39
- - Links & media: `[Label https://example]`, `[img https://.../image.png]`
40
- - Math: `code:tex` blocks and lightweight inline detection
41
- - Tags: `[tag]` → `<!-- tag: tag -->`
31
+ - Code blocks: `code:language` (indented body) and fenced ``` ``` sections
32
+ - Tables: `table:Title` directives with tab-separated cells
33
+ - Links & media: `[Label https://example]`, `[img https://.../image.png]`, `[YouTube …]`, `[Twitter …]`
34
+ - Math: `code:tex` blocks `$$ $$`
35
+ - Tags & page links: `[tag]` → `#tag`
42
36
 
43
37
  ## Installation
44
38
  ```bash
@@ -66,3 +60,4 @@ print(result.text_content)
66
60
 
67
61
  ## License
68
62
  MIT © kazu728
63
+