Open angelserranoperez opened 3 years ago
If you have problems with terminal problems try to add that (because sometimes I get a bit crazy and forget to add things):
var html = '';
agruparDoc(mierda1).forEach((element) {
if (element.contains('§')) {
html = html + traducirGrupo(element);
} else {
// ******** THIS ***************
element.split(RegExp(r'¶')).forEach((e) {
html = html + traducirTerminal('¶ ' + e);
});
// *************
}
});
print('cojones');
print(html);
Have you tried https://pub.dev/packages/notustohtml?
Have you tried https://pub.dev/packages/notustohtml?
That was my first approach : later I discover that there was a dependency conflict.
It is also possible to do it at server side. We found a Golang package to do it https://github.com/singerdmx/BulletJournal/commit/16fc1c2b82872a94a69880a711ed46377e9bb2d4
Zefyr's library won't work since it is missing a lot of attributes.
This is a fuc*ing problem that I want to share my partial solution: It is only for heading 2, heading 3, bold, code, quote, normal text and ol. This is because in my solution I only use that parameters, but you can easily put italic and others.
It is a solution that doesn't take care of big o notation because it is only for small text.
The global scope is the following: > DocumentToTranslate ==>
> Result ==>
HERE IS THE CODE TO TRANSFORM DELTA OR NOTUS DOCUMENT TO HTML: