unfoldingWord-dev / ts-desktop

translationStudio Desktop App
http://ufw.io/ts
Other
41 stars 29 forks source link

Markdown Formatting showing in tN Book/Chapter intros #1249

Open jag3773 opened 5 years ago

jag3773 commented 5 years ago

There is raw markdown showing in the book and chapter level introductions in the notes, e.g.

Screen Shot 2019-04-10 at 3 05 13 PM

Notes

  1. The markdown should be converted and shown pretty
  2. The RC links should be active, you can see the one at the bottom which is not linked to the tW article as it should be. RC links to tN, tW, tQ, and tA should be respected if possible.

The links do work if you are looking at tW articles, but they don't work in tN articles.

da1nerd commented 5 years ago

There are some badly formatted links for example one of the notes for Gen 3:22 has the link [Genesis 1:26](../01/26.md) which doesn't make sense in the context of the csv and is difficult to parse without resorting to guessing from the link title. Guessing from the title doesn't work well across languages either.

Converting those to RC links would help.

da1nerd commented 5 years ago

I've just finished adding support for rendering RC links. So, if at some point the notes, questions, or words began adding RC links into the body of the text they will render correctly. If it's a titled link like [Genesis 1:1](...) it will display as Genesis 1:1. Otherwise if it's not titled like [[rc://en/ulb/book/gen/01/01]] it will render as gen 1:1. So obviously titled links would be preferred.

jag3773 commented 5 years ago

Sounds good.