Demonstration of a bug in GitLab's Markdown rendering.
I have a nested list, and a code block in the middle of the list.
- Numbered list
- Nested list
Code block inside the nested list
#!/usr/bin/env python3 | |
# | |
# migrate_bitbucket_mercurial_to_github.py | |
# | |
# This is a single-use script to export all my Bitbucket.org mercurial | |
# repositories into my GitHub. Why? Because: | |
# https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket | |
# | |
# This script has my username hard-coded in the code. | |
# |
// This thing can be copy-pasted into the browser devtools JavaScript console, on the following page: | |
// https://www.humblebundle.com/home/library | |
// It was written to automatically download all torrent files from my Humble Bundle library. | |
// | |
// 1. Open the page. | |
// 2. Filter by ebooks. | |
// 3. Select BitTorrent instead of direct download. | |
// 4. Click on the first product to start downloading. | |
// 5. Run the code below. |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>getElementsByClassName vs getElementById vs querySelector</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
[Train Conductor World][tcw] is mobile game (for [iOS][ios] and [Android][and]) by [The Voxel Agents][tva]. The game has several cities on a world map (currently, only European cities).
This project (i.e. this GitHub Gist) is an effort to replicate the game world map outside the game. For that, I've used [Tiled Map Editor][tiled] to rebuild the map, and [Gimp][gimp] to create the graphics. This map can be used in the future to help planning in-game routes.
The graphics are based on [in-game screenshots][ss].
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Test::More; | |
# https://stackoverflow.com/questions/45631519/how-to-normalize-a-path-in-perl-without-checking-the-filesystem | |
my %solutions = ( | |
denilson_answer => sub { |
#!/usr/bin/env python2 | |
# -*- coding: utf8 -*- | |
from __future__ import unicode_literals | |
import sys | |
from datetime import date, timedelta | |
import re | |