Closed ahjohannessen closed 4 years ago
Is there no way to keep the code formatting? For example, using [<code>Message</code>](...)
or <code>[Message](...)</code>
instead of [
Message](...)
? I'd really like to keep the code formatting for class/trait names.
Yep, it looks better using code formatting. I will take a stab at it later and see if there is a way.
@krasserm I have investigated this and tried various ways to keep the formatting. Currently, it seems not possible to do a straight conversion that handles the embedded code formatting due to:
It is possible to achieve the same effect wrt code formatting in rst as stated in the SO thread. It seems that we only have issues with formatting links, the other stuff is all good, akka docs like.
@ahjohannessen thanks for your investigations. Looks like we should seriously consider switching to rst soon. Some thoughts:
I'm meanwhile fine with switching to rst. What about you @ddevore?
@krasserm I'm good w/ rst.
@krasserm Are you about to finish off Snapshotting and related user guide changes?
|RefName|
, e.g.:|Legend|
.. |Legend| image:: https://raw.github.com/eligosource/eventsourced/master/doc/images/legend.png
@ahjohannessen I don't plan any additions to the user guide during the next couple of days.
Just for review, not intended to be merged in at this point.
I have done some minor adjustments wrt. backticks and minor format issues that caused a bit of trouble in the conversion.
Doing a
pandoc -f markdown_github+raw_html README.md -o index.rst
is more or less doing a perfect transformation - getting warnings about not using local images, but that is not a biggie to solve. I need to add some table css to the sphinx theme to get a similar setup as the on github.