Comments (3)
I found this in markdown.less and changed "light ink" to "orange." It works with the pandoc footnote variation but not the multimarkdown one.
`&.footnote, &.link, &.auto {
&.destination {
.uri {
// Same as general .underline for markups
text-decoration: none;
border-bottom: @invisible-ink;
border-width: 0px 0px 1px 0px;
border-style: none none solid none;
}
}
// for now disabled as it is not reliable yet
// position: relative;
// top: -0.5em;
// font-size: 85%;
// font-weight:900;
// so far comes from language-pfm
// would be better?
// font-style: normal;
// vertical-align: super;
// font-size: 85%;
color:@orange;
}`
from pen-paper-coffee-syntax.
Hey @sopertob!
Not sure if I understand correctly what you would like to have styled.
If you install language-pfm (pandoc flavoured markdown), footnotes like ^[compare @citationkey, p. 22]
should be styled differently, as seen in the screenshots. Even the citation key should be highlighted.
Can you give an example of your multimarkdown variant? Which grammar are you using? language-gfm, language-pfm or language_markdown?
In the end, a syntax theme can only style what a specific grammar/language package (language-gfm, language-pfm, language-markdown) captures.
To see the captured scopes you can enable dev-tools in Atom (view->toggle development tools), and the use the element inspector to see wether individual parts of a citation eg. are actually captured. If that is so, they can be styled with CSS, otherwise not.
Does that make sense to you? :) Or am I missing our point?
from pen-paper-coffee-syntax.
This answers it some. I was looking to highlight (or change the background
to inline footnote text) in order to distinguish it from the body text. Pen
Paper Coffee style made footnotes a "light ink," I think, which was hard to
see as distinct from the regular text (in black). I changed the text to
orange in the *.less section I pasted in my initial query. I'm (trying) to
post an image of what I mean.[image: Inline image 1]
On Mon, Apr 11, 2016 at 11:08 AM, Tom Brewe [email protected]
wrote:
Hey @sopertob https://github.com/sopertob!
Not sure if I understand correctly what you would like to have styled.
If you install language-pfm (pandoc flavoured markdown
https://atom.io/packages/language-pfm, the footnotes should be styled
individually, as seen in the screenshots.In the end, a syntax theme can only style what a specific grammar/language
package (language-gfm, language-pfm, language-markdown) captures.
To see the captured scopes you can enable dev-tools in Atom (view->toggle
development tools), and the use the element inspector to see wether
individual parts of a citation eg. are actually captured. If that is so,
they can be styled with CSS, otherwise not.Does that make sense to you? :) Or am I missing our point?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#25 (comment)
from pen-paper-coffee-syntax.
Related Issues (20)
- Introduce Math mode HOT 11
- Support for underlined headings HOT 1
- JSDoc/YUIDoc styling HOT 3
- ThemePackage.getStylesheetsPath is deprecated. HOT 2
- add bibtex specific coloring
- style markdown tables
- style critic markdown HOT 1
- style mentioned issues (github eg)
- Headers HOT 15
- Autocomplete pop-ups hide text HOT 4
- theme options
- improve support for language-markdown HOT 1
- Markdown preview theme HOT 2
- softWrapHangingIndent for lists? HOT 3
- Theme broken with One Light UI Theme 0.44.0 & Atom 1.10.0 HOT 4
- Style Project Find results heading pane HOT 3
- update for Atom 1.3.x HOT 2
- Convert to Xressources HOT 1
- port to vs code
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 pen-paper-coffee-syntax.