I’m not sure if this is supported already and I just didn’t find it:
How about an option to strip an entry of all html (barring entities) when exporting it to Anki as a flashcard? I have my own card format so I find myself having to delete the a bunch of html from every card I export from Pleco. Not that I wouldn’t have to edit them a bit anyway (putting word class in a separate field, adding examples etc.) but stripping the html sounds like a relatively simple modification which could save me a few very mechanical steps.
Not too tricky, but which formatting are you trying to remove? Unless you've turned on the option to format cards like dictionary entries there shouldn't be any formatting anywhere except the definition field, and most of that if of a sort that seems unlikely to conflict with your format (bold tags around sub-definitition numbers, gray part of speech labels, e.g.) - is that nonetheless something you'd prefer to have in plaintext?
I have the formatting as Pleco headers off for all fields if that’s what you mean.
When I export a card (from, say ABC), I get: a <div> element for alignment around the whole thing, multiple <b> elements (around the word class, the numbering for meanings etc.), <span> elements which adjust the font size of word class labels, as well as a <plecoentry /> tag at the end which I’m not quite sure what it does (just an ID maybe?). I’m pretty sure I also saw <br /> tags in other dictionaries (although that may be limited to custom ones, not sure…). Of course, they don’t conflict in the technical sense of the word, but they don’t fit the formatting I use on my flashcards. So it’s mostly a question of consistency (although I imagine that in the case of very long entries, the line breaks – be they caused by <div>’s or <br />’s could make a card annoying to use because it’s too long vertically). My suggestion would be to provide an option which would first add a space after anything that would case a line break (i.e. all block elements as well as <br />) and then strip away everything which has <>’s around it. Entities like ∼ (∼) are probably best left alone because most of them stand for characters important to the text. The only exception could be invisible things like non-breaking spaces or maybe the 	 control character (which I’m not completely sure what it does) after numbering.
It would be great if when you convert a card to custom card to mantain the dicionary format. I would just like to edit the definitions, delete some examples and maybe add new ones without altering the entire structure of the flashcard
Small clarification: it'll be HTML but a limited subset of it, akin to an EPUB; even in 2017 we're still not entirely happy with the performance of rendering entries as web pages (particularly when we're overlaying other stuff like our tap text selection system on them), so it'll still be running in a custom Pleco text renderer just as now, but we've replaced our old private use character formatting tag system for that with HTML.
I don't know if it is supported already and I didn’t find this: a function to select one definition/meaning for a word/character in a flashcard. For example in the Hsk5 deck for the word 批 I would like just to show that is used as a measure word because in the Hsk5 test it is present like this and not as "slap" or "scrape" or other definitions.
Or, as a workaround, pick a dictionary entry that has a meaning closer to the one you are interested in. Or create your own custom user dictionary entry for this card with the meaning you are most interested in.
A thought just occurrences to me, would it be possible to display the tags in the top right corner when doing a flash card session? It’s be a nice visual cue as to what logical groupings this card belongs to (ie: HSK4/HSK6, etc.) it seems there is plenty of space in the top right, especially on my iPad.
May you add "highlight" word in text reader please . When I open recent documents I wanna see the words that were new for me , so fast look through them in contexts . So don't need read these big texts from the beginning . Thanks