I am looking for a workflow to enable 'only Word' people to keep working with their favorite editor while:
- enabling developpers to use
markdown - use a robust saving format managable with
Git - prevent template breaks
So the idea is :
docx --> MD | LaTeX --> docx
This looks right and there are many posts here explaining how to do it with Pandoc in both directions like this one.
But when it comes to complex formating like here:
How to manage it ? There is no complex types in word.
I would like the MD code to look as this pseudo code:
## Interconnection
**Rule RRR-1.01** : it is $MANDATORY to .....
$Precision
* It is .....
* It is necessary to .....
* One shall .....
$MANDATORYwould be a kind of macro or type name defined to write 'MANDATORY' in bold and blue color$Precisionwould be replaced by aHTMLdefinition providing the frame, the icon, etc, and embedding what is indented underneeth.
As far as I know, MD does not support macro definitions, and the Pandoc extended MD does not include such complex formating capabilities, unless by using raw html insertion, what is forbidden for my sweet users.
LaTeX instead of MD would be acceptable for non developper people, provided they don't have to know anything about it (developper people would use only MD --> pdf | docx and no complex formatting). Even a solution like LyX won't be adopted.
I would like to stick to MD and avoid LaTeX if possible to avoid too much training. The solution should work both from docx to MD and from MD to docx.

Pandochere. It looks the best stack for it. – lalebarde Mar 27 '19 at 13:05MD --> PDF. But that mean a process that can translate a word document to LaTeX with complex formating. I am not sure I can find something off-the-shelves. Probably I will need a VBA macro in between to deal with complex formating. So I edit the OP – lalebarde Mar 27 '19 at 15:25Asciidoclooks nice too, cf this how [NOTE] is rendered like this.Asciidoctorin addition as a macro feature which may be usefull – lalebarde Mar 28 '19 at 17:06