pyglossary icon indicating copy to clipboard operation
pyglossary copied to clipboard

DSL: support sub-glosses with `@`

Open soshial opened this issue 1 year ago • 1 comments

The structure: image

Sub-glosses marked with @ should be openable as separate dictionary entry:

image

This code:

little
	[m1]1) маленький[/m]
	[m3][*]
	@ little one
	малыш
	@
	[/*][/m]
	[m1]2) немного, мало[/m]
	[m1]3) пустяк, мелочь[/m]
	[m3][*]
	@ little by little
	мало-помалу, постепенно
	@
	[/*][/m]

...should be shown as this: Screenshot 2023-06-26 at 21 27 20

The block of subglosses is closed whenever a single @ symbol takes the full line.

soshial avatar Jun 26 '23 19:06 soshial