Semantically Syntactical Sugar - C#

Down The C# Rabbit Hole

GitHub - containscaffeine/syntactic-semantics-csharp: Syntactic Semantics - C#
Syntactic Semantics - C#. Contribute to containscaffeine/syntactic-semantics-csharp development by creating an account on GitHub.

Some Markdown

Very good markdown example :)

might be a good starting point

Some more markdown

using System;

namespace HelloWorld
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.WriteLine("Hello World!");    
    }
  }
}
var x = 1;
Console.WriteLine(x);
/**
 * Checks if client has been initialized.
 * If not, initializes it, and in case of failure redirects to login page
 * If the client is already initialized, proceeds to the actual route
 */
function requireCredentials (nextState, replace, next) {
  const query = nextState.location.query
  const isPreview = isPreviewSetInQuery(query)
  const newCredentials = {
    accessToken: isPreview ? query.preview_access_token : query.delivery_access_token,
    previewAccessToken: query.preview_access_token,
    deliveryAccessToken: query.delivery_access_token,
    space: query.space_id,
    preview: isPreview
  }
  if (credentialsExist(newCredentials) && (!getClient() || credentialsAreDifferent(credentials, newCredentials))) {
    resetClient()
    initializeClient(newCredentials, next, replace)
  } else if (!query.space_id && !query.access_token) {
    replace('/')
    next()
  } else {
    next()
  }
}
    /**
     * {@inheritdoc}
     */
    protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
    {
        $container->setParameter('container.autowiring.strict_mode', true);
        $container->setParameter('container.dumper.inline_class_loader', true);
        $confDir = $this->getProjectDir().'/config';
        $loader->load($confDir.'/packages/*'.self::CONFIG_EXTS, 'glob');
        if (\is_dir($confDir.'/packages/'.$this->environment)) {
            $loader->load($confDir.'/packages/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob');
        }
        $loader->load($confDir.'/services'.self::CONFIG_EXTS, 'glob');
        $loader->load($confDir.'/services_'.$this->environment.self::CONFIG_EXTS, 'glob');
    }

Here's a simple footnote,[1] and here's a longer one.[2]

My Great Heading

Syntax Description Test Text
Header Title Here's this
Paragraph Text code

link to My Great Heading


https://www.markdownguide.org
fake@example.com

C# image

Alt Text
Figure Caption

Learn Markdown!

C# in 1000 Seconds

H2O

X2


  1. This is the first footnote. ↩︎

  2. Here's one with multiple paragraphs and code.

    Indent paragraphs to include them in the footnote.

    { my code }

    Add as many paragraphs as you like. ↩︎

x = 5; y = 6; z = x + y;