diff --git a/examples/article.html b/examples/article.html index 78edaf5..15c379d 100644 --- a/examples/article.html +++ b/examples/article.html @@ -9,7 +9,7 @@ title: Demo Title Attention and Augmented Recurrent Neural Networks published: Jan 10, 2017 authors: - - Chris Olah: + - Chris Olah: http://shancarter.com - Shan Carter: http://shancarter.com affiliations: - Google Brain @@ -21,17 +21,17 @@ -

Attention and Augmented Recurrent Neural Networks

-

Some people want a deck

+

How to Use t-SNE Effectively

+

Although extremely useful for visualizing high-dimensional data, t-SNE plots can sometimes be mysterious or misleading.

- + +

A popular method for exploring high-dimensional data is something called t-SNE, introduced by van der Maaten and Hinton in 2008 [1]. The technique has become widespread in the field of machine learning, since it has an almost magical ability to create compelling two-dimensonal “maps” from data with hundreds or even thousands of dimensions. Although impressive, these images can be tempting to misread. The purpose of this note is to prevent some common misreadings. +

Before diving in: if you haven’t encountered t-SNE before, here’s what you need to know about the math behind it. The goal is to take a set of points in a high-dimensional space and find a faithful representation of those points in a lower-dimensional space, typically the 2D plane. The algorithm is non-linear and adapts to the underlying data, performing different transformations on different regions. Those differences can be a major source of confusion.

This is the first paragraph of the article. Test a long — dash -- here it is.

Test for owner's possessive. Test for "quoting a passage." And another sentence. Or two. Some flopping fins; for diving.

-
-

Here's a test of an inline equation c = a^2 + b^2. And then there's a block equation:

c = \pm \sqrt{ \sum_{i=0}^{n}{a^{222} + b^2}} diff --git a/src/components/d-byline.js b/src/components/d-byline.js index 1fa0767..f004de2 100644 --- a/src/components/d-byline.js +++ b/src/components/d-byline.js @@ -2,17 +2,22 @@ export const style = ` d-byline { font-size: 13px; line-height: 20px; - border-top: 1px solid rgba(0, 0, 0, 0.1); - border-bottom: 1px solid rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.6); - padding-top: 20px; padding-bottom: 20px; contain: content; - min-height: 42px; } -d-byline .byline-container { +d-byline .byline { grid-column: margin-left / page; + line-height: 1.8em; +} + +d-byline .byline::after { + content: ""; + display: block; + border-bottom: solid 1px #999; + width: 40px; + margin-top: 60px; } d-byline a, @@ -29,100 +34,50 @@ d-article d-byline a:hover { d-byline .authors { text-align: left; - contain: content; } -.author .name { +d-byline .author { + margin-right: 12px; +} + +d-byline .author .name { font-weight: 600; display: inline; text-transform: uppercase; - contain: content; + margin-right: 10px; } -.author .affiliation { +d-byline .author .affiliation { display: inline; } d-byline .date { - display: block; + display: inline; text-align: left; - margin-top: 8px; + margin-right: 12px; } -.date .year, .date .month { +d-byline .date .year, +d-byline .date .month { display: inline; } d-byline .citation { - display: block; + display: inline; text-align: left; } -.citation div { +d-byline .citation div { display: inline; } -@media screen and (min-width: 768px), print { - a:hover { - color: rgba(0, 0, 0, 0.9); - } - - d-byline .authors { - display: inline-block; - } - - .author { - display: inline-block; - margin-right: 12px; - /*padding-left: 20px;*/ - /*border-left: 1px solid #ddd;*/ - } - - .affiliation { - display: block; - } - - .author:last-child { - margin-right: 0; - } - - .author .name { - display: block; - } - - d-byline .date { - - border-left: 1px solid rgba(0, 0, 0, 0.1); - padding-left: 15px; - margin-left: 15px; - margin-top: 0; - display: inline-block; - } - .date .year, .date .month { - display: block; - } - - d-byline .citation { - align-self: flex-end; - border-left: 1px solid rgba(0, 0, 0, 0.15); - padding-left: 15px; - margin-left: 15px; - display: inline-block; - } - .citation div { - display: block; - } - - .byline-container { - display: flex; - } -}`; +`; export function bylineTemplate(frontMatter) { return ` -