ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 04 Oct 2016 03:09:17 +0200getting the value of Python variable from a markdown texthttps://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/How can I obtain the value of Python variable from markdown? I'd like to write both problem and a computed solution using markdown. The solution is obtained from Python script. Therefore, I'd to access Python variable from markdown.Mon, 03 Oct 2016 04:08:05 +0200https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/Comment by tmonteil for <p>How can I obtain the value of Python variable from markdown? I'd like to write both problem and a computed solution using markdown. The solution is obtained from Python script. Therefore, I'd to access Python variable from markdown.</p>
https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35038#post-id-35038Could you be more precise about your use case ? Which Sage interfacedo you use ? Is the markdown in a cell or in a separate file ? What is witten in you markdown ? ...Mon, 03 Oct 2016 12:01:10 +0200https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35038#post-id-35038Comment by wannik for <p>How can I obtain the value of Python variable from markdown? I'd like to write both problem and a computed solution using markdown. The solution is obtained from Python script. Therefore, I'd to access Python variable from markdown.</p>
https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35055#post-id-35055I edited the question. Hope it is clearer.Tue, 04 Oct 2016 02:07:26 +0200https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35055#post-id-35055Comment by tmonteil for <p>How can I obtain the value of Python variable from markdown? I'd like to write both problem and a computed solution using markdown. The solution is obtained from Python script. Therefore, I'd to access Python variable from markdown.</p>
https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35056#post-id-35056Markdown is not a programming language, and it does not know how to handle a variable. I am not sure about your exact request. Do you want a similar feature than [sagetex](https://www.ctan.org/pkg/sagetex) but with markdown instead of LaTeX ? Perhaps could you find good ideas from sagetex source code.Tue, 04 Oct 2016 03:09:17 +0200https://ask.sagemath.org/question/35035/getting-the-value-of-python-variable-from-a-markdown-text/?comment=35056#post-id-35056