Comments (2)
the stylesheet can control the looks btn_before and btn_after
I think these classes are too fine-grained. I think the uniform class name "enclosure" (or "envelope") would be sufficient.
Otherwise, 👍
from asciidoctor-epub3.
Hmm, now that I think about it, if the user wanted to use different opening and closing delimiters, then it might be convenient to have two classes (though it still could be achieved with CSS selectors using a single class).
I'm actually thinking that "before" and "after" are sufficient in that case. Underscores are problematic in HTML output because they could end up getting matched as formatting, so we want to avoid them.
<b class="button"><span class="before">[</span><span class="label">button text</span><span class="after">]</span></b>
Then CSS can use b.button > .before
and b.button > .after
to control these styles. I prefer this proposal over my previous one.
from asciidoctor-epub3.
Related Issues (20)
- Inline <svg>
- Formatting pairs don't work in externalized footnotes HOT 3
- adding attributes to regulate QUOTE_TAGS
- Remote image url failed to load. HOT 8
- Headers with special chars are generating invalid Mobi HOT 6
- Allow Image Title to be centered with Image
- :front-cover-image: with attributes failing to resolve.
- Roles on Admonitions Disappearing HOT 1
- Front cover image is not set for epub HOT 6
- should i.conum have user-select: none? HOT 2
- Should revdate support spelling of months in non-English locales? HOT 4
- Add library -r asciidoctor-bibtex as command option HOT 2
- apostrophes render incorrectly when EPUB output is sent to Kindle HOT 1
- Images not rendering in Apple iBook HOT 8
- Backend cannot be loaded HOT 2
- Referencing an existing footnote causes duplicate link id's HOT 1
- inline / long lines leads to no gap between line numbers and source code HOT 1
- After upgrade to 2.0.0, `<em>` and `<strong>` tags no longer work HOT 1
- Callout list items with nested lists fail to render the nested list. HOT 1
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 asciidoctor-epub3.