I wrote a post on https://stackoverflow.com/questions/53833884/failed-to-show-calculation-steps-with-sympy-and-markdown
Now I wrote https://github.com/retsyo/expand_expression to answer the post partly I released it for it can help others. Thanks -- https://mail.python.org/mailman/listinfo/python-list