Comments (6)
![image](https://private-user-images.githubusercontent.com/1159924/299498010-e432e8bf-628f-4b07-819b-282dc894d3db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc2NTA1NDgsIm5iZiI6MTcxNzY1MDI0OCwicGF0aCI6Ii8xMTU5OTI0LzI5OTQ5ODAxMC1lNDMyZThiZi02MjhmLTRiMDctODE5Yi0yODJkYzg5NGQzZGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDZUMDUwNDA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODEyMDZkNzk3MGNiOWFkODczNWE1NGQ3YjY3Mzk1NTVmNjM0OTIyNDcxN2I4ZTZiMWZjNjI5OWFjYzhiZDJlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.8vYOlNlIcfIVk2xpv1uSFvqRxHJN-exFlC62h3LeJPQ)
from schemaspy.
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 \n
.
Since it goes thru markdown it might be possible with <br/>
but there is a risk that it will be escaped and rendered as is.
I'll see if I get a chans to look at it today.
from schemaspy.
Thank you!
from schemaspy.
Got to testing <br />
break XML syntax. The \n
isn't translated correctly from XML to String in java(DocumentBuilder), so that doesn't yield the desired outcome. However DocumentBuilder translates html codes.
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>
from schemaspy.
Thanks!
Think we'll go the DB comment route.
Sorry slightly unrelated, do you know if there's a way to colour text?
from schemaspy.
@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.
from schemaspy.
Related Issues (20)
- Moving GUI components
- GUI does not respond to re-sizing HOT 1
- No relationships image created HOT 6
- Too much information in error.
- Sign snapshots
- I am unable to get comments
- Oracle database - null password given HOT 5
- Driver Error HOT 7
- Failed to parse [schema].meta.xml HOT 5
- Terminating null reference error when generating HTML for Constraints MSSQL HOT 1
- SchemaSpy ERD (relationship tab) is not showing lines between tables HOT 4
- Relationship between Unique Keys and Foreign Key HOT 8
- ERROR - Bad config Schema (-s/-schemas) was not provided and unable to deduce schema, ... HOT 2
- Trying to set trustServerCertificate true in schemaspy.connprops Property in config file does not work HOT 2
- Getting an Exception when running against Oracle database in charset ISO-8859-15 HOT 2
- Feature request: "Comment" as title in relationships.html
- Get `AbstractMethodError` when connect to SQL Server by using `mssql17-jtds` driver. HOT 2
- Snowflake connection with private key pair HOT 4
- [Informix] Query to long when execute selectRoutineParametersSql HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemaspy.