S
S
Sergey2018-04-08 14:58:48
Python
Sergey, 2018-04-08 14:58:48

How to store string with formatting?

There is a text with formatting tags for everyone, as in the forums, let's say. For example [b]text[/b].
There's a mix of text, formatting, links. I want to parse it once into an internal format, so that later I can export it to any other. For example in html. Or in a telegram format. Or even in 3D.
I can’t figure it out and I can’t google the appropriate format.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LODIII, 2018-04-08
@LODIII

If purely Html can then not reinvent the wheel, but use well-known libraries - beautifulsoup for example.
Well and so - classes it is thought the most general-purpose format will be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question