@@ -47,7 +47,7 @@ If you’re using a different library such as Analytics-Android, follow these st
4747 <tbody>
4848 <tr>
4949 <td>Java</td>
50- <td markdown=1 style="max-width: 450px ">
50+ <td markdown=1 class="table-code-snippet ">
5151 ```java
5252 Analytics analytics = new Analytics.Builder(context, "YOUR_WRITE_KEY")
5353 .trackApplicationLifecycleEvents()
@@ -57,7 +57,7 @@ If you’re using a different library such as Analytics-Android, follow these st
5757 </tr>
5858 <tr>
5959 <td>Kotlin</td>
60- <td markdown=1 style="max-width: 450px ">
60+ <td markdown=1 class="table-code-snippet ">
6161 ```kotlin
6262 val analytics = Analytics.Builder(context, "YOUR_WRITE_KEY")
6363 .trackApplicationLifecycleEvents()
@@ -76,10 +76,10 @@ If you’re using a different library such as Analytics-Android, follow these st
7676 <th></th>
7777 </tr>
7878 </thead>
79- <tbody style="max-width: 100%" >
79+ <tbody>
8080 <tr>
8181 <td>Java</td>
82- <td markdown=1 style="max-width: 450px ">
82+ <td markdown=1 class="table-code-snippet ">
8383
8484 ```java
8585 // Initialize an Analytics object with the Kotlin Analytics method
@@ -97,7 +97,7 @@ If you’re using a different library such as Analytics-Android, follow these st
9797 </tr>
9898 <tr>
9999 <td>Kotlin</td>
100- <td markdown=1 style="max-width: 450px ">
100+ <td markdown=1 class="table-code-snippet ">
101101
102102 ```kotlin
103103 Analytics("YOUR_WRITE_KEY", context) {
@@ -126,7 +126,7 @@ If you’re using a different library such as Analytics-Android, follow these st
126126 <tbody>
127127 <tr>
128128 <td>Java</td>
129- <td markdown=1 style="max-width: 450px ">
129+ <td markdown=1 class="table-code-snippet ">
130130 ```java
131131 builder
132132 .useSourceMiddleware(new Middleware() {
@@ -154,7 +154,7 @@ If you’re using a different library such as Analytics-Android, follow these st
154154 </tr>
155155 <tr>
156156 <td>Kotlin</td>
157- <td markdown=1 style="max-width: 450px ">
157+ <td markdown=1 class="table-code-snippet ">
158158 ```kotlin
159159 builder
160160 .useSourceMiddleware(
@@ -189,10 +189,10 @@ If you’re using a different library such as Analytics-Android, follow these st
189189 <th></th>
190190 </tr>
191191 </thead>
192- <tbody style="max-width: 100%" >
192+ <tbody>
193193 <tr>
194194 <td>Java</td>
195- <td markdown=1 style="max-width: 450px ">
195+ <td markdown=1 class="table-code-snippet ">
196196
197197 ```java
198198 analytics.add(new Plugin() {
@@ -233,7 +233,7 @@ If you’re using a different library such as Analytics-Android, follow these st
233233 </tr>
234234 <tr>
235235 <td>Kotlin</td>
236- <td markdown=1 style="max-width: 450px ">
236+ <td markdown=1 class="table-code-snippet ">
237237
238238 ```kotlin
239239 analytics.add(object: Plugin {
@@ -270,7 +270,7 @@ If you’re using a different library such as Analytics-Android, follow these st
270270 <tbody>
271271 <tr>
272272 <td>Java</td>
273- <td markdown=1 style="max-width: 450px ">
273+ <td markdown=1 class="table-code-snippet ">
274274 ```java
275275 builder
276276 .useDestinationMiddleware("Segment.io", new Middleware() {
@@ -298,7 +298,7 @@ If you’re using a different library such as Analytics-Android, follow these st
298298 </tr>
299299 <tr>
300300 <td>Kotlin</td>
301- <td markdown=1 style="max-width: 450px ">
301+ <td markdown=1 class="table-code-snippet ">
302302 ```kotlin
303303 builder
304304 .useDestinationMiddleware(
@@ -334,10 +334,10 @@ If you’re using a different library such as Analytics-Android, follow these st
334334 <th></th>
335335 </tr>
336336 </thead>
337- <tbody style="max-width: 100%" >
337+ <tbody>
338338 <tr>
339339 <td>Java</td>
340- <td markdown=1 style="max-width: 450px ">
340+ <td markdown=1 class="table-code-snippet ">
341341
342342 ```java
343343 SegmentDestination segmentDestination = analytics.find(SegmentDestination.class);
@@ -380,7 +380,7 @@ If you’re using a different library such as Analytics-Android, follow these st
380380 </tr>
381381 <tr>
382382 <td>Kotlin</td>
383- <td markdown=1 style="max-width: 450px ">
383+ <td markdown=1 class="table-code-snippet ">
384384
385385 ```kotlin
386386 val segmentDestination: DestinationPlugin = analytics.find(SegmentDestination::class)
@@ -447,7 +447,7 @@ If you’re using a different library such as Analytics-Android, follow these st
447447 <tbody>
448448 <tr>
449449 <td>Java</td>
450- <td markdown=1 style="max-width: 450px ">
450+ <td markdown=1 class="table-code-snippet ">
451451 ```java
452452 // Previously we used to use Factories to initialize destinations
453453 analytics.use(FooIntegration.FACTORY);
@@ -456,7 +456,7 @@ If you’re using a different library such as Analytics-Android, follow these st
456456 </tr>
457457 <tr>
458458 <td>Kotlin</td>
459- <td markdown=1 style="max-width: 450px ">
459+ <td markdown=1 class="table-code-snippet ">
460460 ```kotlin
461461 // Previously we used to use Factories to initialize destinations
462462 analytics.use(FooIntegration.FACTORY)
@@ -474,10 +474,10 @@ If you’re using a different library such as Analytics-Android, follow these st
474474 <th></th>
475475 </tr>
476476 </thead>
477- <tbody style="max-width: 100%" >
477+ <tbody>
478478 <tr>
479479 <td>Java</td>
480- <td markdown=1 style="max-width: 450px ">
480+ <td markdown=1 class="table-code-snippet ">
481481
482482 ```java
483483 // Now destinations are treated similar to plugins and thus are simpler to add
@@ -488,7 +488,7 @@ If you’re using a different library such as Analytics-Android, follow these st
488488 </tr>
489489 <tr>
490490 <td>Kotlin</td>
491- <td markdown=1 style="max-width: 450px ">
491+ <td markdown=1 class="table-code-snippet ">
492492
493493 ```kotlin
494494 // Now destinations are treated similar to plugins and thus are simpler to add
@@ -514,15 +514,15 @@ If you’re using a different library such as Analytics-Android, follow these st
514514 <tbody>
515515 <tr>
516516 <td>Java</td>
517- <td markdown=1 style="max-width: 450px ">
517+ <td markdown=1 class="table-code-snippet ">
518518 ```java
519519 analytics.identify("a user's id", new Traits().putName("John Doe"), null);
520520 ```
521521 </td>
522522 </tr>
523523 <tr>
524524 <td>Kotlin</td>
525- <td markdown=1 style="max-width: 450px ">
525+ <td markdown=1 class="table-code-snippet ">
526526 ```kotlin
527527 analytics.identify("a user's id", Traits().putName("John Doe"), null)
528528 ```
@@ -539,10 +539,10 @@ If you’re using a different library such as Analytics-Android, follow these st
539539 <th></th>
540540 </tr>
541541 </thead>
542- <tbody style="max-width: 100%" >
542+ <tbody>
543543 <tr>
544544 <td>Java</td>
545- <td markdown=1 style="max-width: 450px ">
545+ <td markdown=1 class="table-code-snippet ">
546546
547547 ```java
548548 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -570,7 +570,7 @@ If you’re using a different library such as Analytics-Android, follow these st
570570 </tr>
571571 <tr>
572572 <td>Kotlin</td>
573- <td markdown=1 style="max-width: 450px ">
573+ <td markdown=1 class="table-code-snippet ">
574574
575575 ```kotlin
576576 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -606,15 +606,15 @@ If you’re using a different library such as Analytics-Android, follow these st
606606 <tbody>
607607 <tr>
608608 <td>Java</td>
609- <td markdown=1 style="max-width: 450px ">
609+ <td markdown=1 class="table-code-snippet ">
610610 ```java
611611 analytics.track("Product Viewed", new Properties().putValue("name", "Moto 360"));
612612 ```
613613 </td>
614614 </tr>
615615 <tr>
616616 <td>Kotlin</td>
617- <td markdown=1 style="max-width: 450px ">
617+ <td markdown=1 class="table-code-snippet ">
618618 ```kotlin
619619 analytics.track("Product Viewed", Properties().putValue("name", "Moto 360"))
620620 ```
@@ -631,10 +631,10 @@ If you’re using a different library such as Analytics-Android, follow these st
631631 <th></th>
632632 </tr>
633633 </thead>
634- <tbody style="max-width: 100%" >
634+ <tbody>
635635 <tr>
636636 <td>Java</td>
637- <td markdown=1 style="max-width: 450px ">
637+ <td markdown=1 class="table-code-snippet ">
638638
639639 ```java
640640 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -672,7 +672,7 @@ If you’re using a different library such as Analytics-Android, follow these st
672672 </tr>
673673 <tr>
674674 <td>Kotlin</td>
675- <td markdown=1 style="max-width: 450px ">
675+ <td markdown=1 class="table-code-snippet ">
676676
677677 ```kotlin
678678 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -725,15 +725,15 @@ If you’re using a different library such as Analytics-Android, follow these st
725725 <tbody>
726726 <tr>
727727 <td>Java</td>
728- <td markdown=1 style="max-width: 450px ">
728+ <td markdown=1 class="table-code-snippet ">
729729 ```java
730730 analytics.group("a user's id", "a group id", new Traits().putEmployees(20));
731731 ```
732732 </td>
733733 </tr>
734734 <tr>
735735 <td>Kotlin</td>
736- <td markdown=1 style="max-width: 450px ">
736+ <td markdown=1 class="table-code-snippet ">
737737 ```kotlin
738738 analytics.group("a user's id", "a group id", Traits().putEmployees(20))
739739 ```
@@ -750,10 +750,10 @@ If you’re using a different library such as Analytics-Android, follow these st
750750 <th></th>
751751 </tr>
752752 </thead>
753- <tbody style="max-width: 100%" >
753+ <tbody>
754754 <tr>
755755 <td>Java</td>
756- <td markdown=1 style="max-width: 450px ">
756+ <td markdown=1 class="table-code-snippet ">
757757
758758 ```java
759759 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -779,7 +779,7 @@ If you’re using a different library such as Analytics-Android, follow these st
779779 </tr>
780780 <tr>
781781 <td>Kotlin</td>
782- <td markdown=1 style="max-width: 450px ">
782+ <td markdown=1 class="table-code-snippet ">
783783
784784 ```kotlin
785785 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -812,15 +812,15 @@ If you’re using a different library such as Analytics-Android, follow these st
812812 <tbody>
813813 <tr>
814814 <td>Java</td>
815- <td markdown=1 style="max-width: 450px ">
815+ <td markdown=1 class="table-code-snippet ">
816816 ```java
817817 analytics.screen("Feed", new Properties().putValue("Feed Length", "26"));
818818 ```
819819 </td>
820820 </tr>
821821 <tr>
822822 <td>Kotlin</td>
823- <td markdown=1 style="max-width: 450px ">
823+ <td markdown=1 class="table-code-snippet ">
824824 ```kotlin
825825 analytics.screen("Feed", Properties().putValue("Feed Length", "26"))
826826 ```
@@ -837,10 +837,10 @@ If you’re using a different library such as Analytics-Android, follow these st
837837 <th></th>
838838 </tr>
839839 </thead>
840- <tbody style="max-width: 100%" >
840+ <tbody>
841841 <tr>
842842 <td>Java</td>
843- <td markdown=1 style="max-width: 450px ">
843+ <td markdown=1 class="table-code-snippet ">
844844
845845 ```java
846846 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -865,7 +865,7 @@ If you’re using a different library such as Analytics-Android, follow these st
865865 </tr>
866866 <tr>
867867 <td>Kotlin</td>
868- <td markdown=1 style="max-width: 450px ">
868+ <td markdown=1 class="table-code-snippet ">
869869
870870 ```kotlin
871871 // The newer APIs promote the use of strongly typed structures to keep codebases legible
@@ -900,15 +900,15 @@ If you’re using a different library such as Analytics-Android, follow these st
900900 <tbody>
901901 <tr>
902902 <td>Java</td>
903- <td markdown=1 style="max-width: 450px ">
903+ <td markdown=1 class="table-code-snippet ">
904904 ```java
905905 analytics.alias("new id");
906906 ```
907907 </td>
908908 </tr>
909909 <tr>
910910 <td>Kotlin</td>
911- <td markdown=1 style="max-width: 450px ">
911+ <td markdown=1 class="table-code-snippet ">
912912 ```kotlin
913913 analytics.alias("new id")
914914 ```
@@ -925,10 +925,10 @@ If you’re using a different library such as Analytics-Android, follow these st
925925 <th></th>
926926 </tr>
927927 </thead>
928- <tbody style="max-width: 100%" >
928+ <tbody>
929929 <tr>
930930 <td>Java</td>
931- <td markdown=1 style="max-width: 450px ">
931+ <td markdown=1 class="table-code-snippet ">
932932
933933 ```java
934934 analytics.alias("new id");
@@ -937,7 +937,7 @@ If you’re using a different library such as Analytics-Android, follow these st
937937 </tr>
938938 <tr>
939939 <td>Kotlin</td>
940- <td markdown=1 style="max-width: 450px ">
940+ <td markdown=1 class="table-code-snippet ">
941941
942942 ```kotlin
943943 analytics.alias("new id")
0 commit comments