Comments (5)
Yes the -
is chained together with o
and interpreted as line with circle endpoint.
You can escape it by using "
ie: "co-edit"
from svgbob.
Hey there @ivanceras,
It does seem that escaping the "o character" when chained between adjacent text is problematic. when by itself, it seems to be escaped fine, but when the _o falls in the middle of a string of characters without any spaces, it doesn't seem like it can be escaped without some odd spaces being displayed.
Input
"_o"
foo_bar_opq_id
fo"o_"bar"_o"pq_id
from svgbob.
@chaseleinart why not just:
"foo_bar_opq_id"
instead of
fo"o_"bar"_o"pq_id
from svgbob.
Yes the
-
is chained together witho
and interpreted as line with circle endpoint.
You can escape it by using"
ie:"co-edit"
Thanks for this tip, it is not used widely in demo. The problem is that it does not saves alignment for inherited text. For example, when I print
+----------+
|"BIOS RAM"|
+----------+
/\
' '
/ \
+----+ +----+
|"ПО"| |"БД"|
+--o-+ +----+
If I replace quotes with spaces, all is normal. But I need these escape-quotes in other places of diagram and the missed alignment seems to be a bigger problem
Thanks
from svgbob.
This has been fixed in svgbob 0.5.5
Try this out on the online editor
+----------+
|"BIOS RAM"|
+----------+
/\
/ \
/ \
+----+ +----+
|"ПО"| |"БД"|
+--o-+ +----+
"foo_bar_opq_id"
"(some remark)"
some text
from svgbob.
Related Issues (20)
- Styles are leaking HOT 2
- docs: radius 2.0 circle is iffy HOT 1
- Regressions in "Load Other Example"
- Choose a file extension for the new file format HOT 1
- Lines crossing issue HOT 3
- Online demo preview and SVG output don't match HOT 1
- Embed iosevka font in the svg image
- XML parsing errors on generated svg
- Scoping styles
- Maintain an official SVGBob WASM NPM package HOT 1
- Browsers' automatic dark mode theme generation breaks svgbob
- Comment in style section is not a CSS comment HOT 1
- Detection of O-Corner with two arrows fails
- Syntax for an arc HOT 2
- Triangle filling is not working HOT 3
- To easier the trial, add docker image
- "Basic Shapes" seems broken HOT 1
- Fails to parse quoting at end of line
- Question: create a bigger circles HOT 2
- Question: Change text color
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 svgbob.