diff options
author | Splitter <no.reply@wowchemy.com> | 2022-10-02 19:42:06 +0300 |
---|---|---|
committer | Splitter <no.reply@wowchemy.com> | 2022-10-02 19:42:06 +0300 |
commit | f1d4abdbe81870c10d2ca07f062b8e5ada89eb2e (patch) | |
tree | 42295d78c39033131c0414d7b6484a68205b516d | |
parent | 43b89523bc369825fa31f9249c3a3c490db501ef (diff) |
starters: update Academic
31 files changed, 927 insertions, 16 deletions
diff --git a/content/authors/admin/_index.md b/content/authors/admin/_index.md index b82fa907..956510a3 100644 --- a/content/authors/admin/_index.md +++ b/content/authors/admin/_index.md @@ -1,9 +1,9 @@ --- # Display name -title: Nelson Bighetti +title: Alice Bighetti 吳恩達 # Full name (for SEO) -first_name: Nelson +first_name: Alice last_name: Bighetti # Is this the primary user of the site? @@ -50,6 +50,9 @@ social: - icon: twitter icon_pack: fab link: https://twitter.com/GeorgeCushen + label: Follow me on Twitter + display: + header: true - icon: graduation-cap # Alternatively, use `google-scholar` icon from `ai` icon pack icon_pack: fas link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ @@ -61,7 +64,7 @@ social: link: https://www.linkedin.com/ # Link to a PDF of your resume/CV. -# To use: copy your resume to `static/uploads/resume.pdf`, enable `ai` icons in `params.toml`, +# To use: copy your resume to `static/uploads/resume.pdf`, enable `ai` icons in `params.yaml`, # and uncomment the lines below. # - icon: cv # icon_pack: ai @@ -74,7 +77,7 @@ email: '' highlight_name: true --- -Nelson Bighetti is a professor of artificial intelligence at the Stanford AI Lab. His research interests include distributed robotics, mobile computing and programmable matter. He leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks. +Alice Bighetti is a professor of artificial intelligence at the Stanford AI Lab. Her research interests include distributed robotics, mobile computing and programmable matter. She leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate. diff --git a/content/authors/admin/avatar.jpg b/content/authors/admin/avatar.jpg Binary files differindex d1361fd8..49337e47 100644 --- a/content/authors/admin/avatar.jpg +++ b/content/authors/admin/avatar.jpg diff --git a/content/home/about.md b/content/home/about.md index 9430976b..6e288a82 100644 --- a/content/home/about.md +++ b/content/home/about.md @@ -18,4 +18,10 @@ title: Biography # This should be the username (folder name) of a profile in your `content/authors/` folder. # See https://wowchemy.com/docs/get-started/#introduce-yourself author: admin + +design: + background: + image: bg-hue.svg --- + + diff --git a/content/home/demo-links.md b/content/home/demo-links.md index 633a58cc..1040a12b 100644 --- a/content/home/demo-links.md +++ b/content/home/demo-links.md @@ -3,7 +3,7 @@ # Any elements can be added in the body: https://wowchemy.com/docs/writing-markdown-latex/ # Add more sections by duplicating this file and customizing to your requirements. -widget = "blank" # See https://wowchemy.com/docs/page-builder/ +widget = "markdown" # See https://wowchemy.com/docs/page-builder/ headless = true # This file represents a page section. active = false # Activate this widget? true/false weight = 15 # Order that this section will appear. diff --git a/content/home/featured.md b/content/home/featured.md index a61f478c..28d905ab 100644 --- a/content/home/featured.md +++ b/content/home/featured.md @@ -1,7 +1,7 @@ --- # An instance of the Featured widget. # Documentation: https://wowchemy.com/docs/page-builder/ -widget: featured +widget: collection # This file represents a page section. headless: true @@ -19,6 +19,7 @@ content: count: 0 # Filter on criteria filters: + featured_only: true author: '' category: '' publication_type: '' diff --git a/content/home/gallery.md b/content/home/gallery.md index 96f3858f..6e54353e 100644 --- a/content/home/gallery.md +++ b/content/home/gallery.md @@ -1,7 +1,7 @@ --- # An instance of the Blank widget with a Gallery page element. # Documentation: https://wowchemy.com/docs/getting-started/page-builder/ -widget: blank +widget: markdown # This file represents a page section. headless: true diff --git a/content/home/posts.md b/content/home/posts.md index 2bf55edd..a3c0ec2e 100644 --- a/content/home/posts.md +++ b/content/home/posts.md @@ -1,7 +1,7 @@ --- # An instance of the Pages widget. # Documentation: https://wowchemy.com/docs/page-builder/ -widget: pages +widget: collection # This file represents a page section. headless: true diff --git a/content/home/publications.md b/content/home/publications.md index dad76dba..f696f12a 100644 --- a/content/home/publications.md +++ b/content/home/publications.md @@ -1,7 +1,7 @@ --- # An instance of the Pages widget. # Documentation: https://wowchemy.com/docs/page-builder/ -widget: pages +widget: collection # This file represents a page section. headless: true diff --git a/content/home/skills.md b/content/home/skills.md index 35d1b75d..51f6588b 100644 --- a/content/home/skills.md +++ b/content/home/skills.md @@ -1,7 +1,7 @@ --- # An instance of the Featurette widget. # Documentation: https://wowchemy.com/docs/page-builder/ -widget: featurette +widget: features # This file represents a page section. headless: true diff --git a/content/home/talks.md b/content/home/talks.md index 13c293d3..1fe4699d 100644 --- a/content/home/talks.md +++ b/content/home/talks.md @@ -1,7 +1,7 @@ --- # An instance of the Pages widget. # Documentation: https://wowchemy.com/docs/page-builder/ -widget: pages +widget: collection # This file represents a page section. headless: true diff --git a/content/post/getting-started/index.md b/content/post/getting-started/index.md index 08674eae..c788c362 100644 --- a/content/post/getting-started/index.md +++ b/content/post/getting-started/index.md @@ -41,6 +41,11 @@ categories: - 教程 --- +```python +import libr +print('hello') +``` + ## Overview 1. The Wowchemy website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site diff --git a/content/post/jupyter/featured.png b/content/post/jupyter/featured.png Binary files differnew file mode 100644 index 00000000..9bf5550c --- /dev/null +++ b/content/post/jupyter/featured.png diff --git a/content/post/jupyter/index.ipynb b/content/post/jupyter/index.ipynb new file mode 100644 index 00000000..f8d10de2 --- /dev/null +++ b/content/post/jupyter/index.ipynb @@ -0,0 +1,186 @@ +{ + "cells": [ + { + "cell_type": "raw", + "metadata": {}, + "source": [ + "---\n", + "title: Display Jupyter Notebooks with Academic\n", + "subtitle: Learn how to blog in Academic using Jupyter notebooks\n", + "summary: Learn how to blog in Academic using Jupyter notebooks\n", + "authors:\n", + "- admin\n", + "tags: []\n", + "categories: []\n", + "date: \"2019-02-05T00:00:00Z\"\n", + "lastMod: \"2019-09-05T00:00:00Z\"\n", + "featured: false\n", + "draft: false\n", + "\n", + "# Featured image\n", + "# To use, add an image named `featured.jpg/png` to your page's folder. \n", + "image:\n", + " caption: \"\"\n", + " focal_point: \"\"\n", + "\n", + "# Projects (optional).\n", + "# Associate this post with one or more of your projects.\n", + "# Simply enter your project's folder or file name without extension.\n", + "# E.g. `projects = [\"internal-project\"]` references \n", + "# `content/project/deep-learning/index.md`.\n", + "# Otherwise, set `projects = []`.\n", + "projects: []\n", + "---" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAlkAAADLCAYAAABdyYYmAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNi8wNS8wNE2+5nEAAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAAgAElEQVR4nO3df4wb14Ef8K8U2TJHPyyZG9tra9SzHXESXNKQcpKeKdTORVSCwtm93B/XVVLgEPbiBpCApEFXV6NANo1yRdXzormiWF1aO6GAtlfvFW1SblXk4t00daJxfjQic3GQzMq/ItpexdnRr5VIWbI1/YM73OFwfrwhZ4Yc7vcD2OQM37x53F0tv/vemzcbDMMwQERERESh2tjvBhARERENI4YsIiIioggwZBERERFFgCGLiIiIKAIMWUREREQRYMgiIiIiigBDFhEREVEEGLKIiIiIIsCQRURERBQBhiwiIiKiCDBkEREREUWAIYuIiIgoAgxZRERERBFgyCIiIiKKAEMWERERUQQYsoiIiIgiwJBFREREFAGGLCIiIqIIMGQRERERRYAhi4iIiCgCDFlEREREEWDIIiIiIooAQxYRERFRBBiyiIiIiCLAkEVEREQUAYYsIiIioggwZBERERFFgCGLiIiIKAIMWUREQ6her0NVVczMzKBWq/W7OUTr0qZ+N4CIiM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9wJAVoY55WG7lBCamWye2u9XhtQ6WSMC6efOmaxkzMNlDkxl0bt68iY0b3e837hSsrK9tsAYk11rc+R7H0EVERDFjyIqQ/f59bvfzswYX+z77I1xuQ2PvJXJ7zd4rZN1n743yGyK0vm4PWE7zotyG7DqG+rrQcZz9XAxYREQUM4asKNkDkW3bKXQ5BS57eaegZB5rblt7nZyG7qznM928eVN47pLbfCy314TnXAnMyXI6JzyCGuMVERH1Aye+R81+NSGCTX63Pu+YsG64L90gcjVht1cYii6tEORqQ5GlHLiMAxERJQlDVkz8goxowHLc5xDUgoSpXn4E/JZS8NsnEq5cyzU31vb7bBMREcWJIStO9l4tn16uboKXSFm/Y4LwClnWfa7BSHCJBq9zsfeKiIgGEUNWP/gNIfpsB33ezbYoz56s5k7HbZGhv6D1O5UhIiLqF4asPuv48jsEMPu+bgOZ1z77+Tz5BBmvoGTfDlIWcAlWAm0iIiKKG0PWAHH8VgiELrdjgwasID8Kfj1GvlcDuuxzLNN8wXcfERHRIGHIGlRO4cprP9xDkt+3OKyJ70HKuIUkr/DEoUAiIkoShqwk8QhYnq8FKRMSv56m1itugcrneCIiokHHkDUMRMOTeaVhhE3xC08d5RmkiIhoSHHF92GwYYPwqubd3hswiKBBi4iIaBgxZK0nAcIYERER9WajfxEiIiIiCoohi4iIiCgCDFlEREREEWDIIiIiIooAQxYRERFRBBiyiIiIiCLAkEVEREQUAYYsIiIioggwZBERERFFgCGLiIiIKAIMWUREREQRYMgiIiIiigBDFhEREVEEGLKIiIiIIsCQRURERBQBhiwiIiKiCDBkEREREUWAIYuIiIgoAgxZRERERBFgyCIiIiKKAEMWERERUQQYsoiIiIgiwJBFREREFAGGLCIiIqIIMGQRERERRYAhi4iIiCgCDFlEREREEWDIIiIiIooAQxYRERFRBBiyiIiIiCLw/wHFhXehSRmsyQAAAABJRU5ErkJggg==\n", + "text/plain": [ + "<IPython.core.display.Image object>" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from IPython.core.display import Image\n", + "Image('https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png')" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Welcome to Academic!\n" + ] + } + ], + "source": [ + "print(\"Welcome to Academic!\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Install Python and JupyterLab\n", + "\n", + "[Install Anaconda](https://www.anaconda.com/distribution/#download-section) which includes Python 3 and JupyterLab.\n", + "\n", + "Alternatively, install JupyterLab with `pip3 install jupyterlab`." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Create or upload a Jupyter notebook\n", + "\n", + "Run the following commands in your Terminal, substituting `<MY-WEBSITE-FOLDER>` and `<SHORT-POST-TITLE>` with the file path to your Academic website folder and a short title for your blog post (use hyphens instead of spaces), respectively:" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "```bash\n", + "mkdir -p <MY-WEBSITE-FOLDER>/content/post/<SHORT-POST-TITLE>/\n", + "cd <MY-WEBSITE-FOLDER>/content/post/<SHORT-POST-TITLE>/\n", + "jupyter lab index.ipynb\n", + "```" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "The `jupyter` command above will launch the JupyterLab editor, allowing us to add Academic metadata and write the content." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Edit your post metadata\n", + "\n", + "The first cell of your Jupter notebook will contain your post metadata ([front matter](https://sourcethemes.com/academic/docs/front-matter/)).\n", + "\n", + "In Jupter, choose _Markdown_ as the type of the first cell and wrap your Academic metadata in three dashes, indicating that it is YAML front matter: \n", + "\n", + "```\n", + "---\n", + "title: My post's title\n", + "date: 2019-09-01\n", + "\n", + "# Put any other Academic metadata here...\n", + "---\n", + "```\n", + "\n", + "Edit the metadata of your post, using the [documentation](https://sourcethemes.com/academic/docs/managing-content) as a guide to the available options.\n", + "\n", + "To set a [featured image](https://sourcethemes.com/academic/docs/managing-content/#featured-image), place an image named `featured` into your post's folder.\n", + "\n", + "For other tips, such as using math, see the guide on [writing content with Academic](https://wowchemy.com/docs/content/writing-markdown-latex/). " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Convert notebook to Markdown" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "```bash\n", + "jupyter nbconvert index.ipynb --to markdown --NbConvertApp.output_files_dir=.\n", + "```" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example\n", + "\n", + "This post was created with Jupyter. The orginal files can be found at https://github.com/gcushen/hugo-academic/tree/master/exampleSite/content/post/jupyter" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/content/post/jupyter/index.md b/content/post/jupyter/index.md new file mode 100644 index 00000000..70f343df --- /dev/null +++ b/content/post/jupyter/index.md @@ -0,0 +1,77 @@ +--- +title: Display Jupyter Notebooks with Academic +subtitle: Learn how to blog in Academic using Jupyter notebooks +summary: Learn how to blog in Academic using Jupyter notebooks +authors: + - admin +tags: [] +categories: [] +projects: [] +date: '2019-02-05T00:00:00Z' +lastMod: '2019-09-05T00:00:00Z' +image: + caption: '' + focal_point: '' +--- + +```python +from IPython.core.display import Image +Image('https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png') +``` + +![png](./index_1_0.png) + +```python +print("Welcome to Academic!") +``` + + Welcome to Academic! + +## Install Python and JupyterLab + +[Install Anaconda](https://www.anaconda.com/distribution/#download-section) which includes Python 3 and JupyterLab. + +Alternatively, install JupyterLab with `pip3 install jupyterlab`. + +## Create or upload a Jupyter notebook + +Run the following commands in your Terminal, substituting `<MY-WEBSITE-FOLDER>` and `<SHORT-POST-TITLE>` with the file path to your Academic website folder and a short title for your blog post (use hyphens instead of spaces), respectively: + +```bash +mkdir -p <MY-WEBSITE-FOLDER>/content/post/<SHORT-POST-TITLE>/ +cd <MY-WEBSITE-FOLDER>/content/post/<SHORT-POST-TITLE>/ +jupyter lab index.ipynb +``` + +The `jupyter` command above will launch the JupyterLab editor, allowing us to add Academic metadata and write the content. + +## Edit your post metadata + +The first cell of your Jupter notebook will contain your post metadata ([front matter](https://sourcethemes.com/academic/docs/front-matter/)). + +In Jupter, choose _Markdown_ as the type of the first cell and wrap your Academic metadata in three dashes, indicating that it is YAML front matter: + +``` +--- +title: My post's title +date: 2019-09-01 + +# Put any other Academic metadata here... +--- +``` + +Edit the metadata of your post, using the [documentation](https://sourcethemes.com/academic/docs/managing-content) as a guide to the available options. + +To set a [featured image](https://sourcethemes.com/academic/docs/managing-content/#featured-image), place an image named `featured` into your post's folder. + +For other tips, such as using math, see the guide on [writing content with Academic](https://wowchemy.com/docs/content/writing-markdown-latex/). + +## Convert notebook to Markdown + +```bash +jupyter nbconvert index.ipynb --to markdown --NbConvertApp.output_files_dir=. +``` + +## Example + +This post was created with Jupyter. The orginal files can be found at https://github.com/gcushen/hugo-academic/tree/master/exampleSite/content/post/jupyter diff --git a/content/post/jupyter/index_1_0.png b/content/post/jupyter/index_1_0.png Binary files differnew file mode 100644 index 00000000..738f6ed4 --- /dev/null +++ b/content/post/jupyter/index_1_0.png diff --git a/content/post/writing-technical-content/featured.jpg b/content/post/writing-technical-content/featured.jpg Binary files differnew file mode 100644 index 00000000..e2c0fb24 --- /dev/null +++ b/content/post/writing-technical-content/featured.jpg diff --git a/content/post/writing-technical-content/index.md b/content/post/writing-technical-content/index.md new file mode 100644 index 00000000..a2baaf41 --- /dev/null +++ b/content/post/writing-technical-content/index.md @@ -0,0 +1,390 @@ +--- +title: Writing technical content in Markdown +date: 2019-07-12 +math: true +image: + placement: 2 + caption: 'Image credit: [**John Moeses Bauan**](https://unsplash.com/photos/OGZtQF8iC0g)' +--- + +Wowchemy is designed to give technical content creators a seamless experience. You can focus on the content and Wowchemy handles the rest. + +**Highlight your code snippets, take notes on math classes, and draw diagrams from textual representation.** + +On this page, you'll find some examples of the types of technical content that can be rendered with Wowchemy. + +## Examples + +### Code + +Wowchemy supports a Markdown extension for highlighting code syntax. You can customize the styles under the `syntax_highlighter` option in your `config/_default/params.yaml` file. + + ```python + import pandas as pd + data = pd.read_csv("data.csv") + data.head() + ``` + +renders as + +```python +import pandas as pd +data = pd.read_csv("data.csv") +data.head() +``` + +### Mindmaps + +Wowchemy supports a Markdown extension for mindmaps. + +Simply insert a Markdown `markmap` code block and optionally set the height of the mindmap as shown in the example below. + +A simple mindmap defined as a Markdown list: + +<div class="highlight"> +<pre class="chroma"> +<code> +```markmap {height="200px"} +- Hugo Modules + - wowchemy + - wowchemy-plugins-netlify + - wowchemy-plugins-netlify-cms + - wowchemy-plugins-reveal +``` +</code> +</pre> +</div> + +renders as + +```markmap {height="200px"} +- Hugo Modules + - wowchemy + - wowchemy-plugins-netlify + - wowchemy-plugins-netlify-cms + - wowchemy-plugins-reveal +``` + +A more advanced mindmap with formatting, code blocks, and math: + +<div class="highlight"> +<pre class="chroma"> +<code> +```markmap +- Mindmaps + - Links + - [Wowchemy Docs](https://wowchemy.com/docs/) + - [Discord Community](https://discord.gg/z8wNYzb) + - [GitHub](https://github.com/wowchemy/wowchemy-hugo-themes) + - Features + - Markdown formatting + - **inline** ~~text~~ *styles* + - multiline + text + - `inline code` + - + ```js + console.log('hello'); + console.log('code block'); + ``` + - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ +``` +</code> +</pre> +</div> + +renders as + +```markmap +- Mindmaps + - Links + - [Wowchemy Docs](https://wowchemy.com/docs/) + - [Discord Community](https://discord.gg/z8wNYzb) + - [GitHub](https://github.com/wowchemy/wowchemy-hugo-themes) + - Features + - Markdown formatting + - **inline** ~~text~~ *styles* + - multiline + text + - `inline code` + - + ```js + console.log('hello'); + console.log('code block'); + ``` + - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ +``` + +### Charts + +Wowchemy supports the popular [Plotly](https://plot.ly/) format for interactive charts. + +Save your Plotly JSON in your page folder, for example `line-chart.json`, and then add the `{{</* chart data="line-chart" */>}}` shortcode where you would like the chart to appear. + +Demo: + +{{< chart data="line-chart" >}} + +You might also find the [Plotly JSON Editor](http://plotly-json-editor.getforge.io/) useful. + +### Math + +Wowchemy supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.yaml` file. + +To render _inline_ or _block_ math, wrap your LaTeX math with `{{</* math */>}}$...${{</* /math */>}}` or `{{</* math */>}}$$...$${{</* /math */>}}`, respectively. (We wrap the LaTeX math in the Wowchemy _math_ shortcode to prevent Hugo rendering our math as Markdown. The _math_ shortcode is new in v5.5-dev.) + +Example **math block**: + +```latex +{{</* math */>}} +$$ +\gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2} +$$ +{{</* /math */>}} +``` + +renders as + +{{< math >}} +$$\gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ +{{< /math >}} + +Example **inline math** `{{</* math */>}}$\nabla F(\mathbf{x}_{n})${{</* /math */>}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. + +Example **multi-line math** using the math linebreak (`\\`): + +```latex +{{</* math */>}} +$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ +{{</* /math */>}} +``` + +renders as + +{{< math >}} + +$$ +f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases} +$$ + +{{< /math >}} + +### Diagrams + +Wowchemy supports a Markdown extension for diagrams. You can enable this feature by toggling the `diagram` option in your `config/_default/params.toml` file or by adding `diagram: true` to your page front matter. + +An example **flowchart**: + + ```mermaid + graph TD + A[Hard] -->|Text| B(Round) + B --> C{Decision} + C -->|One| D[Result 1] + C -->|Two| E[Result 2] + ``` + +renders as + +```mermaid +graph TD +A[Hard] -->|Text| B(Round) +B --> C{Decision} +C -->|One| D[Result 1] +C -->|Two| E[Result 2] +``` + +An example **sequence diagram**: + + ```mermaid + sequenceDiagram + Alice->>John: Hello John, how are you? + loop Healthcheck + John->>John: Fight against hypochondria + end + Note right of John: Rational thoughts! + John-->>Alice: Great! + John->>Bob: How about you? + Bob-->>John: Jolly good! + ``` + +renders as + +```mermaid +sequenceDiagram +Alice->>John: Hello John, how are you? +loop Healthcheck + John->>John: Fight against hypochondria +end +Note right of John: Rational thoughts! +John-->>Alice: Great! +John->>Bob: How about you? +Bob-->>John: Jolly good! +``` + +An example **Gantt diagram**: + + ```mermaid + gantt + section Section + Completed :done, des1, 2014-01-06,2014-01-08 + Active :active, des2, 2014-01-07, 3d + Parallel 1 : des3, after des1, 1d + Parallel 2 : des4, after des1, 1d + Parallel 3 : des5, after des3, 1d + Parallel 4 : des6, after des4, 1d + ``` + +renders as + +```mermaid +gantt +section Section +Completed :done, des1, 2014-01-06,2014-01-08 +Active :active, des2, 2014-01-07, 3d +Parallel 1 : des3, after des1, 1d +Parallel 2 : des4, after des1, 1d +Parallel 3 : des5, after des3, 1d +Parallel 4 : des6, after des4, 1d +``` + +An example **class diagram**: + + ```mermaid + classDiagram + Class01 <|-- AveryLongClass : Cool + Class03 *-- Class04 + Class05 o-- Class06 + Class07 .. Class08 + Class09 --> C2 : Where am i? + Class09 --* C3 + Class09 --|> Class07 + Class07 : equals() + Class07 : Object[] elementData + Class01 : size() + Class01 : int chimp + Class01 : int gorilla + Class08 <--> C2: Cool label + ``` + +renders as + +```mermaid +classDiagram +Class01 <|-- AveryLongClass : Cool +Class03 *-- Class04 +Class05 o-- Class06 +Class07 .. Class08 +Class09 --> C2 : Where am i? +Class09 --* C3 +Class09 --|> Class07 +Class07 : equals() +Class07 : Object[] elementData +Class01 : size() +Class01 : int chimp +Class01 : int gorilla +Class08 <--> C2: Cool label +``` + +An example **state diagram**: + + ```mermaid + stateDiagram + [*] --> Still + Still --> [*] + Still --> Moving + Moving --> Still + Moving --> Crash + Crash --> [*] + ``` + +renders as + +```mermaid +stateDiagram +[*] --> Still +Still --> [*] +Still --> Moving +Moving --> Still +Moving --> Crash +Crash --> [*] +``` + +### Todo lists + +You can even write your todo lists in Markdown too: + +```markdown +- [x] Write math example + - [x] Write diagram example +- [ ] Do something else +``` + +renders as + +- [x] Write math example + - [x] Write diagram example +- [ ] Do something else + +### Tables + +Save your spreadsheet as a CSV file in your page's folder and then render it by adding the _Table_ shortcode to your page: + +```go +{{</* table path="results.csv" header="true" caption="Table 1: My results" */>}} +``` + +renders as + +{{< table path="results.csv" header="true" caption="Table 1: My results" >}} + +### Callouts + +Academic supports a [shortcode for callouts](https://wowchemy.com/docs/content/writing-markdown-latex/#callouts), also referred to as _asides_, _hints_, or _alerts_. By wrapping a paragraph in `{{%/* callout note */%}} ... {{%/* /callout */%}}`, it will render as an aside. + +```markdown +{{%/* callout note */%}} +A Markdown aside is useful for displaying notices, hints, or definitions to your readers. +{{%/* /callout */%}} +``` + +renders as + +{{% callout note %}} +A Markdown aside is useful for displaying notices, hints, or definitions to your readers. +{{% /callout %}} + +### Spoilers + +Add a spoiler to a page to reveal text, such as an answer to a question, after a button is clicked. + +```markdown +{{</* spoiler text="Click to view the spoiler" */>}} +You found me! +{{</* /spoiler */>}} +``` + +renders as + +{{< spoiler text="Click to view the spoiler" >}} You found me! {{< /spoiler >}} + +### Icons + +Academic enables you to use a wide range of [icons from _Font Awesome_ and _Academicons_](https://wowchemy.com/docs/getting-started/page-builder/#icons) in addition to [emojis](https://wowchemy.com/docs/content/writing-markdown-latex/#emojis). + +Here are some examples using the `icon` shortcode to render icons: + +```markdown +{{</* icon name="terminal" pack="fas" */>}} Terminal +{{</* icon name="python" pack="fab" */>}} Python +{{</* icon name="r-project" pack="fab" */>}} R +``` + +renders as + +{{< icon name="terminal" pack="fas" >}} Terminal +{{< icon name="python" pack="fab" >}} Python +{{< icon name="r-project" pack="fab" >}} R + +### Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/post/writing-technical-content/line-chart.json b/content/post/writing-technical-content/line-chart.json new file mode 100644 index 00000000..4307b4f8 --- /dev/null +++ b/content/post/writing-technical-content/line-chart.json @@ -0,0 +1,71 @@ +{ + "data": [ + { + "uid": "babced", + "fill": "tonexty", + "mode": "none", + "name": "Col2", + "type": "scatter", + "x": [ + "2000-01-01", + "2001-01-01", + "2002-01-01", + "2003-01-01", + "2004-01-01", + "2005-01-01", + "2006-01-01", + "2007-01-01", + "2008-01-01", + "2009-01-01", + "2010-01-01", + "2011-01-01", + "2012-01-01", + "2013-01-01", + "2014-01-01", + "2015-01-01", + "2016-01-01" + ], + "y": [ + "17087182", + "29354370", + "38760373", + "40912332", + "51611646", + "64780617", + "85507314", + "121892559", + "172338726", + "238027855", + "206956723", + "346004403", + "697089489", + "672985183", + "968882453", + "863105652", + "1068513050" + ], + "fillcolor": "rgb(224, 102, 102)" + } + ], + "layout": { + "title": "Total Number of Websites", + "width": 800, + "xaxis": { + "type": "date", + "range": [946702800000, 1451624400000], + "title": "Source: <a href=\"http://www.scribblrs.com/\">Scribblrs</a><br>Source: <a href=\"http://www.internetlivestats.com/total-number-of-websites/\">Internet Live Stats</a>", + "showgrid": false, + "autorange": true, + "tickformat": "%Y" + }, + "yaxis": { + "type": "linear", + "range": [0, 1124750578.9473684], + "title": "", + "autorange": true + }, + "height": 500, + "autosize": false + }, + "frames": [] +} diff --git a/content/post/writing-technical-content/results.csv b/content/post/writing-technical-content/results.csv new file mode 100644 index 00000000..0630ed92 --- /dev/null +++ b/content/post/writing-technical-content/results.csv @@ -0,0 +1,4 @@ +customer_id, score +1,0 +2,0.5 +3,1 diff --git a/content/project/external-project/featured.jpg b/content/project/external-project/featured.jpg Binary files differnew file mode 100644 index 00000000..050f74d5 --- /dev/null +++ b/content/project/external-project/featured.jpg diff --git a/content/project/external-project/index.md b/content/project/external-project/index.md new file mode 100644 index 00000000..674ee137 --- /dev/null +++ b/content/project/external-project/index.md @@ -0,0 +1,14 @@ +--- +title: External Project +summary: An example of linking directly to an external project website using `external_link`. +tags: +- Demo +date: "2016-04-27T00:00:00Z" + +# Optional external URL for project (replaces project detail page). +external_link: https://example.org + +image: + caption: Photo by Toa Heftiba on Unsplash + focal_point: Smart +--- diff --git a/content/publication/example/cite.bib b/content/publication/conference-paper/cite.bib index 98c37482..98c37482 100644 --- a/content/publication/example/cite.bib +++ b/content/publication/conference-paper/cite.bib diff --git a/content/publication/example/example.pdf b/content/publication/conference-paper/conference-paper.pdf Binary files differindex 747064e2..747064e2 100644 --- a/content/publication/example/example.pdf +++ b/content/publication/conference-paper/conference-paper.pdf diff --git a/content/publication/example/featured.jpg b/content/publication/conference-paper/featured.jpg Binary files differindex 2ebab27a..2ebab27a 100644 --- a/content/publication/example/featured.jpg +++ b/content/publication/conference-paper/featured.jpg diff --git a/content/publication/example/index.md b/content/publication/conference-paper/index.md index ea50a380..980aaf3c 100644 --- a/content/publication/example/index.md +++ b/content/publication/conference-paper/index.md @@ -45,13 +45,13 @@ featured: true # url: http://example.org url_pdf: '' -url_code: '' -url_dataset: '' +url_code: 'https://github.com/wowchemy/wowchemy-hugo-themes' +url_dataset: 'https://github.com/wowchemy/wowchemy-hugo-themes' url_poster: '' url_project: '' url_slides: '' -url_source: '' -url_video: '' +url_source: 'https://github.com/wowchemy/wowchemy-hugo-themes' +url_video: 'https://youtube.com' # Featured image # To use, add an image named `featured.jpg/png` to your page's folder. diff --git a/content/publication/journal-article/cite.bib b/content/publication/journal-article/cite.bib new file mode 100644 index 00000000..a7da7acc --- /dev/null +++ b/content/publication/journal-article/cite.bib @@ -0,0 +1,8 @@ +@article{example2, + title = {An example journal article}, + author={Bighetti, Nelson and Ford, Robert}, + journal = {Journal of Source Themes}, + year = 2015, + volume = 1, + number = 1 +} diff --git a/content/publication/journal-article/featured.jpg b/content/publication/journal-article/featured.jpg Binary files differnew file mode 100644 index 00000000..15272c01 --- /dev/null +++ b/content/publication/journal-article/featured.jpg diff --git a/content/publication/journal-article/index.md b/content/publication/journal-article/index.md new file mode 100644 index 00000000..dca7d776 --- /dev/null +++ b/content/publication/journal-article/index.md @@ -0,0 +1,76 @@ +--- +title: "An example journal article" +authors: +- admin +- Robert Ford +author_notes: +- "Equal contribution" +- "Equal contribution" +date: "2015-09-01T00:00:00Z" +doi: "" + +# Schedule page publish date (NOT publication's date). +publishDate: "2017-01-01T00:00:00Z" + +# Publication type. +# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article; +# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section; +# 7 = Thesis; 8 = Patent +publication_types: ["2"] + +# Publication name and optional abbreviated publication name. +publication: "*Journal of Source Themes, 1*(1)" +publication_short: "" + +abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. + +# Summary. An optional shortened abstract. +summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. + +tags: +- Source Themes +featured: false + +# links: +# - name: "" +# url: "" +url_pdf: http://arxiv.org/pdf/1512.04133v1 +url_code: 'https://github.com/wowchemy/wowchemy-hugo-themes' +url_dataset: '' +url_poster: '' +url_project: '' +url_slides: '' +url_source: '' +url_video: '' + +# Featured image +# To use, add an image named `featured.jpg/png` to your page's folder. +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/jdD8gXaTZsc)' + focal_point: "" + preview_only: false + +# Associated Projects (optional). +# Associate this publication with one or more of your projects. +# Simply enter your project's folder or file name without extension. +# E.g. `internal-project` references `content/project/internal-project/index.md`. +# Otherwise, set `projects: []`. +projects: [] + +# Slides (optional). +# Associate this publication with Markdown slides. +# Simply enter your slide deck's filename without extension. +# E.g. `slides: "example"` references `content/slides/example/index.md`. +# Otherwise, set `slides: ""`. +slides: example +--- + +{{% callout note %}} +Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software. +{{% /callout %}} + +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} + +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). diff --git a/content/publication/preprint/featured.jpg b/content/publication/preprint/featured.jpg Binary files differnew file mode 100644 index 00000000..8fdeeeec --- /dev/null +++ b/content/publication/preprint/featured.jpg diff --git a/content/publication/preprint/index.md b/content/publication/preprint/index.md new file mode 100644 index 00000000..bcf88dad --- /dev/null +++ b/content/publication/preprint/index.md @@ -0,0 +1,69 @@ +--- +title: "An example preprint / working paper" +authors: +- admin +date: "2019-04-07T00:00:00Z" +doi: "" + +# Schedule page publish date (NOT publication's date). +publishDate: "2017-01-01T00:00:00Z" + +# Publication type. +# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article; +# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section; +# 7 = Thesis; 8 = Patent +publication_types: ["3"] + +# Publication name and optional abbreviated publication name. +publication: "" +publication_short: "" + +abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. + +# Summary. An optional shortened abstract. +summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. + +tags: +- Source Themes +featured: false + +links: +- name: Custom Link + url: http://example.org +url_pdf: http://arxiv.org/pdf/1512.04133v1 +url_code: 'https://github.com/wowchemy/wowchemy-hugo-themes' +url_dataset: '#' +url_poster: '#' +url_project: '' +url_slides: '' +url_source: '#' +url_video: '#' + +# Featured image +# To use, add an image named `featured.jpg/png` to your page's folder. +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/s9CC2SKySJM)' + focal_point: "" + preview_only: false + +# Associated Projects (optional). +# Associate this publication with one or more of your projects. +# Simply enter your project's folder or file name without extension. +# E.g. `internal-project` references `content/project/internal-project/index.md`. +# Otherwise, set `projects: []`. +projects: +- internal-project + +# Slides (optional). +# Associate this publication with Markdown slides. +# Simply enter your slide deck's filename without extension. +# E.g. `slides: "example"` references `content/slides/example/index.md`. +# Otherwise, set `slides: ""`. +slides: example +--- + +{{% callout note %}} +Create your slides in Markdown - click the *Slides* button to check out the example. +{{% /callout %}} + +Supplementary notes can be added here, including [code, math, and images](https://wowchemy.com/docs/writing-markdown-latex/). @@ -5,5 +5,6 @@ go 1.15 require ( github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect - github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.6.0 // indirect + github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0 // indirect + github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20221002163318-39a618761acc // indirect ) |