-
Notifications
You must be signed in to change notification settings - Fork 306
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
Cant get line breaks in Table Comments to work. #1401
Comments
I haven't had time yet, but it's going to pass thru markdown processing so at least two spaces are needed before the line break. But since it's imported from the SchemaMeta I wonder if some escaping is needed. Escaping to avoid the escaping since it seems to render it as Since it goes thru markdown it might be possible with I'll see if I get a chans to look at it today. |
Thank you! |
Got to testing So to get the line breaks it's space + space + <schemaMeta xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schemaspy.org/xsd/6/schemameta.xsd" >
<comments>Database comment</comments>
<tables>
<table name="usr" comments="Line with no hardbreak \n">
<column name="username" comments="Column comment"/>
</table>
</tables>
</schemaMeta> |
Thanks! Think we'll go the DB comment route. Sorry slightly unrelated, do you know if there's a way to colour text? |
@dmarkey markdown doesn't have that support. We could look if the framework we use has an extension for it. But no support at the moment, the only workarounds for it are really cumbersome by adding style sheet elements to the prior to the markdown, and it's too horrible to work with, so I would suggest to avoid it. |
Expected Behavior
That I can have a line break in the output with this schema metadata
I've tried several permutations and cant get a line break to work.
Thank you!
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: