Trying StackEdit as a WYSIWYG editor

I just found out that StackEdit has this feature that helps you write markdown in a WYSIWYG mode and allows you to commit files directly to GitHub.

So, let’s give it a spin:

Bold text Italic text

Big

Bigger

Strikethrough

  • Bullet 1
  • Bullet 2
  • Bullet 3
  1. Numbered 1
  2. Numbered 2
  3. Numbered 3

Checklist

  • x task 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec nunc ullamcorper, auctor elit sit amet, porta lacus. Nam sit amet mauris mauris. Morbi a eros lorem. Morbi sollicitudin tempor leo, eget interdum risus. Proin arcu orci, imperdiet ac lorem ac, posuere pharetra est. Mauris et faucibus sapien. Pellentesque vel volutpat augue. Vestibulum ultrices scelerisque nisl mollis ultricies.

Code:

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Bundle\WebServerBundle;

use Symfony\Component\Process\Exception\RuntimeException;
use Symfony\Component\Process\PhpExecutableFinder;
use Symfony\Component\Process\Process;

/**
 * Manages a local HTTP web server.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
class WebServer
{
    const STARTED = 0;
    const STOPPED = 1;

    public function run(WebServerConfig $config, $disableOutput = true, callable $callback = null)
    {
        if ($this->isRunning()) {
            throw new \RuntimeException(sprintf('A process is already listening on http://%s.', $config->getAddress()));
        }

    $process = $this->createServerProcess($config);
    if ($disableOutput) {
        $process->disableOutput();
        $callback = null;
    } else {
        try {
            $process->setTty(true);
            $callback = null;
        } catch (RuntimeException $e) {
        }
    }

    $process->run($callback);

    if (!$process->isSuccessful()) {
        $error = 'Server terminated unexpectedly.';
        if ($process->isOutputDisabled()) {
            $error .= ' Run the command again with -v option for more details.';
        }

        throw new \RuntimeException($error);
    }
   }

source

Table: |Key|Value| |—|—| |foo|bar| |bar|foo| |1|2|

CommandDescription
hugoBuild your website.
hugo serve -wView your website.

Predeal - I shot this awesome view

Written with StackEdit.

Avatar
Gabi Udrescu
Product Owner

Software Product Owner - PHP and Symfony enthusiast