Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown ending with newline not displayed properly #533

Closed
baggepinnen opened this issue Oct 5, 2020 · 1 comment
Closed

Markdown ending with newline not displayed properly #533

baggepinnen opened this issue Oct 5, 2020 · 1 comment

Comments

@baggepinnen
Copy link

Compare the two markdown strings below

md""" This notebook explores estimation of the parameters of a second-order vibration model

	$$(s^2M + K)X = BU$$

	by means of frequency-domain methods.

	The system above can be written in state-space form like

	$$\dot x = Ax + Bu$$
	$$\begin{bmatrix}
	\dot x \\ \ddot x
	\end{bmatrix} = \begin{bmatrix}
	0 & I \\
	-M^{-1}K & 0
	\end{bmatrix}
	\begin{bmatrix}
	x\\\dot x
	\end{bmatrix}+ Bu$$

	We start by constructing a sample system, the frequencies of the eigenvalues are shown below"""

This one is displayed correctly, but if I have newlines on the first and last row, it does not render

md""" 
This notebook explores estimation of the parameters of a second-order vibration model

	$$(s^2M + K)X = BU$$

	by means of frequency-domain methods.

	The system above can be written in state-space form like

	$$\dot x = Ax + Bu$$
	$$\begin{bmatrix}
	\dot x \\ \ddot x
	\end{bmatrix} = \begin{bmatrix}
	0 & I \\
	-M^{-1}K & 0
	\end{bmatrix}
	\begin{bmatrix}
	x\\\dot x
	\end{bmatrix}+ Bu$$

	We start by constructing a sample system, the frequencies of the eigenvalues are shown below
"""
@fonsp
Copy link
Owner

fonsp commented Oct 5, 2020

That's because the first line is not indented, but the others are. Try indenting the first line, or unindenting the others.

@fonsp fonsp closed this as completed Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants