Israh Theme
Markdown Stylesheet Demo Thing Also With a Very Long Page Title

Israh is a responsive Jekyll theme with a clean single column layout and not much else. This theme is an evolution of my Ezora jekyll theme that reflects my own changing tastes. Most notably, Israh takes the focus off of header images so I don’t have to find them for posts that don’t need them.

Like Ezora, Israh uses a fairly minimal set of layouts and sass, and will automatically conform to a sensible layout based on the YAML provided, unless a layout is specified. Width/height values are all defined in the top of main.scss as variables, so you don’t have to hunt too far through the SCSS to tweak things. Notable includes are the topbar, included in the default layout and the postlist, which is a paginated pile of posts you can include in any page, like the default home page does. You can specify your navigation menu links in navbar if you don’t like it generating them for all your pages, GitHub and LinkedIn accounts. You can also add more social accounts if you like by extending the list in navbar.html.

This page is mostly a copy of the one from “The Plain” Jekyll Theme.

NOTE: This markdown cheatsheet is a typography demo for this theme. Check out this post to learn more about this markdown usage when you want to get started with this theme. Enjoy!

Typography Elements in One

Let’s start with a informative paragraph. This text is bolded. But not this one! How about italic text? Cool right? Ok, let’s combine them together. Yeah, that’s right! I have code to highlight, so ThisIsMyCode(). What a nice! Good people will hyperlink away, so here we go or http://www.example.com.

Headings H1 to H6

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Footnote

Let’s say you have text that you want to refer with a footnote, you can do that too! This is an example for the footnote number one 1. You can even add more footnotes, with link! 2

Blockquote

With some text above it:

Start by doing what’s necessary; then do what’s possible; and suddenly you are doing the impossible. –Francis of Assisi

List Items

  1. First order list item
  2. Second item

Code Blocks

var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.

Code with line numbers:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define PWM16_MAX_VAL 65535
const int led = 2; // the on-board LED pin, configured as output in other code

//configure timer2 for 16 bit PWM usage
void timer_config() {

  NRF_TIMER2-&gt;TASKS_STOP = 1;
  NRF_TIMER2-&gt;MODE = TIMER_MODE_MODE_Timer;
  NRF_TIMER2-&gt;BITMODE = TIMER_BITMODE_BITMODE_16Bit;
  NRF_TIMER2-&gt;PRESCALER = 1; // divide frequency down by 2^x
  NRF_TIMER2-&gt;TASKS_CLEAR = 1; // Clear timer
  NRF_TIMER2-&gt;INTENSET |= TIMER_INTENSET_COMPARE0_Enabled &lt;&lt; TIMER_INTENSET_COMPARE0_Pos;
  NRF_TIMER2-&gt;INTENSET |= TIMER_INTENSET_COMPARE1_Enabled &lt;&lt; TIMER_INTENSET_COMPARE1_Pos;
  NRF_TIMER2-&gt;CC[0] = PWM16_MAX_VAL; // this is related to a bug fix, see "my_isr()" comments
  NRF_TIMER2-&gt;CC[1] = 0;
  NRF_TIMER2-&gt;EVENTS_COMPARE[0] = 0;
  NRF_TIMER2-&gt;EVENTS_COMPARE[1] = 0;
  dynamic_attachInterrupt(TIMER2_IRQn, my_isr);
}

The ISR:

1
2
3
4
5
6
7
8
9
10
11
void my_isr(void) {

 if (NRF_TIMER2-&gt;EVENTS_COMPARE[0] != 0) {
   NRF_TIMER2-&gt;EVENTS_COMPARE[0] = 0;
   digitalWrite(led, HIGH);
 }
 else if (NRF_TIMER2-&gt;EVENTS_COMPARE[1] != 0) {
   NRF_TIMER2-&gt;EVENTS_COMPARE[1] = 0;
   digitalWrite(led, LOW);
 }
}

The function to call:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
void pwm16(uint16_t value) {

  NRF_TIMER2-&gt;TASKS_STOP = 1;
  NRF_TIMER2-&gt;EVENTS_COMPARE[0] = 0;
 
  if (value == 0) {
    digitalWrite(led, LOW);
  }
  else if (value == PWM16_MAX_VAL) {
    digitalWrite(led, HIGH);
  }
  else {
    NRF_TIMER2-&gt;CC[0] = PWM16_MAX_VAL - value;
    NRF_TIMER2-&gt;TASKS_START = 1;
  }
}

Render some LaTeX with KaTeX

Table

Table 1: With Alignment

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

Table 2: With Typography Elements

Markdown Less Pretty
Still renders nicely
1 2 3

Horizontal Line

The HTML <hr> element is for creating a “thematic break” between paragraph-level elements. In markdown, you can create a <hr> with any of the following:

renders to:




Media

YouTube Embedded Iframe

Image

Minion

  1. Footnote number one yeah baby! Long sentence test of footnote to see how the words are wrapping between each other. Might overflowww! 

  2. A footnote you can link to - click here!