diff --git a/content/news/chi24-paper-accepted/headsupmultitasker.png b/content/news/chi24-paper-accepted/headsupmultitasker.png new file mode 100644 index 0000000..b6639ee Binary files /dev/null and b/content/news/chi24-paper-accepted/headsupmultitasker.png differ diff --git a/content/news/chi24-paper-accepted/index.md b/content/news/chi24-paper-accepted/index.md index 5dd2f53..0e144c9 100644 --- a/content/news/chi24-paper-accepted/index.md +++ b/content/news/chi24-paper-accepted/index.md @@ -8,19 +8,19 @@ summary: Heads-Up Multitasker - Simulating Attention Switching On Optical Head-M -![png](output_1_0.png) +![png](headsupmultitasker.png) -```python + - Welcome to Academic! + -## Organize your notebooks + -The notebooks will be published to the folder you specify above. In this case, they will be published to your `content/post/` folder. --> + diff --git a/content/news/chi24-paper-accepted/output_1_0.png b/content/news/chi24-paper-accepted/output_1_0.png deleted file mode 100644 index 738f6ed..0000000 Binary files a/content/news/chi24-paper-accepted/output_1_0.png and /dev/null differ diff --git a/content/news/getting-started/featured.jpg b/content/news/getting-started/featured.jpg deleted file mode 100644 index 04a7bae..0000000 Binary files a/content/news/getting-started/featured.jpg and /dev/null differ diff --git a/content/news/getting-started/index.md b/content/news/getting-started/index.md deleted file mode 100644 index 90dd4dc..0000000 --- a/content/news/getting-started/index.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Welcome to Hugo Blox Builder, the website builder for Hugo -subtitle: Welcome πŸ‘‹ We know that first impressions are important, so we've populated your new site with some initial content to help you get familiar with everything in no time. - -# Summary for listings and search engines -summary: Welcome πŸ‘‹ We know that first impressions are important, so we've populated your new site with some initial content to help you get familiar with everything in no time. - -# Link this post with a project -projects: [] - -# Date published -date: '2020-12-13T00:00:00Z' - -# Date updated -lastmod: '2020-12-13T00:00:00Z' - -# Is this an unpublished draft? -draft: false - -# Show this page in the Featured widget? -featured: false - -# Featured image -# Place an image named `featured.jpg/png` in this page's folder and customize its options here. -image: - caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/CpkOjOcXdUY)' - focal_point: '' - placement: 2 - preview_only: false - -authors: - - admin - - 吳恩達 - -tags: - - Academic - - 开源 - -categories: - - Demo - - 教程 ---- - -```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 -2. The template can be modified and customised to suit your needs. It's a good platform for anyone looking to take control of their data and online identity whilst having the convenience to start off with a **no-code solution (write in Markdown and customize with YAML parameters)** and having **flexibility to later add even deeper personalization with HTML and CSS** -3. You can work with all your favourite tools and apps with hundreds of plugins and integrations to speed up your workflows, interact with your readers, and much more - -[![The template is mobile first with a responsive design to ensure that your site looks stunning on every device.](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/main/starters/academic/preview.png)](https://hugoblox.com) - -## Get Started - -- πŸ‘‰ [**Create a new site**](https://hugoblox.com/templates/) -- πŸ“š [**Personalize your site**](https://docs.hugoblox.com/) -- πŸ’¬ [Chat with the **Wowchemy community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io) -- 🐦 Twitter: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query) -- πŸ’‘ [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/HugoBlox/hugo-blox-builder/issues) -- ⬆️ **Updating Wowchemy?** View the [Update Tutorial](https://docs.hugoblox.com/hugo-tutorials/update/) and [Release Notes](https://hugoblox.com/updates/) - -## Crowd-funded open-source software - -To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship. - -### [❀️ Click here to become a sponsor and help support Wowchemy's future ❀️](https://hugoblox.com/sponsor/) - -As a token of appreciation for sponsoring, you can **unlock [these](https://hugoblox.com/sponsor/) awesome rewards and extra features πŸ¦„βœ¨** - -## Ecosystem - -- **[Hugo Academic CLI](https://github.com/GetRD/academic-file-converter):** Automatically import publications from BibTeX - -## Inspiration - -[Check out the latest **demo**](https://academic-demo.netlify.com/) of what you'll get in less than 10 minutes, or [view the **showcase**](https://hugoblox.com/user-stories/) of personal, project, and business sites. - -## Features - -- **Page builder** - Create _anything_ with [**widgets**](https://docs.hugoblox.com/page-builder/) and [**elements**](https://docs.hugoblox.com/content/writing-markdown-latex/) -- **Edit any type of content** - Blog posts, publications, talks, slides, projects, and more! -- **Create content** in [**Markdown**](https://docs.hugoblox.com/content/writing-markdown-latex/), [**Jupyter**](https://docs.hugoblox.com/import/jupyter/), or [**RStudio**](https://docs.hugoblox.com/install-locally/) -- **Plugin System** - Fully customizable [**color** and **font themes**](https://docs.hugoblox.com/customization/) -- **Display Code and Math** - Code highlighting and [LaTeX math](https://en.wikibooks.org/wiki/LaTeX/Mathematics) supported -- **Integrations** - [Google Analytics](https://analytics.google.com), [Disqus commenting](https://disqus.com), Maps, Contact Forms, and more! -- **Beautiful Site** - Simple and refreshing one page design -- **Industry-Leading SEO** - Help get your website found on search engines and social media -- **Media Galleries** - Display your images and videos with captions in a customizable gallery -- **Mobile Friendly** - Look amazing on every screen with a mobile friendly version of your site -- **Multi-language** - 34+ language packs including English, δΈ­ζ–‡, and PortuguΓͺs -- **Multi-user** - Each author gets their own profile page -- **Privacy Pack** - Assists with GDPR -- **Stand Out** - Bring your site to life with animation, parallax backgrounds, and scroll effects -- **One-Click Deployment** - No servers. No databases. Only files. - -## Themes - -Wowchemy and its templates come with **automatic day (light) and night (dark) mode** built-in. Alternatively, visitors can choose their preferred mode - click the moon icon in the top right of the [Demo](https://academic-demo.netlify.com/) to see it in action! Day/night mode can also be disabled by the site admin in `params.toml`. - -[Choose a stunning **theme** and **font**](https://docs.hugoblox.com/customization) for your site. Themes are fully customizable. - -## License - -Copyright 2016-present [George Cushen](https://georgecushen.com). - -Released under the [MIT](https://github.com/HugoBlox/hugo-blox-builder/blob/master/LICENSE.md) license. diff --git a/content/news/writing-technical-content/featured.jpg b/content/news/writing-technical-content/featured.jpg deleted file mode 100644 index e2c0fb2..0000000 Binary files a/content/news/writing-technical-content/featured.jpg and /dev/null differ diff --git a/content/news/writing-technical-content/index.md b/content/news/writing-technical-content/index.md deleted file mode 100644 index 30bfa0f..0000000 --- a/content/news/writing-technical-content/index.md +++ /dev/null @@ -1,390 +0,0 @@ ---- -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)' ---- - -Hugo Blox Builder 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: - -
-
-
-```markmap {height="200px"}
-- Hugo Modules
-  - wowchemy
-  - blox-plugins-netlify
-  - blox-plugins-netlify-cms
-  - blox-plugins-reveal
-```
-
-
-
- -renders as - -```markmap {height="200px"} -- Hugo Modules - - wowchemy - - blox-plugins-netlify - - blox-plugins-netlify-cms - - blox-plugins-reveal -``` - -A more advanced mindmap with formatting, code blocks, and math: - -
-
-
-```markmap
-- Mindmaps
-  - Links
-    - [Wowchemy Docs](https://docs.hugoblox.com/)
-    - [Discord Community](https://discord.gg/z8wNYzb)
-    - [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
-  - 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}$
-```
-
-
-
- -renders as - -```markmap -- Mindmaps - - Links - - [Wowchemy Docs](https://docs.hugoblox.com/) - - [Discord Community](https://discord.gg/z8wNYzb) - - [GitHub](https://github.com/HugoBlox/hugo-blox-builder) - - 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 `{{}}` 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 `{{}}$...${{}}` or `{{}}$$...$${{}}`, 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 -{{}} -$$ -\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} -$$ -{{}} -``` - -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** `{{}}$\nabla F(\mathbf{x}_{n})${{}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. - -Example **multi-line math** using the math linebreak (`\\`): - -```latex -{{}} -$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ -1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ -{{}} -``` - -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 -{{}} -``` - -renders as - -{{< table path="results.csv" header="true" caption="Table 1: My results" >}} - -### Callouts - -Academic supports a [shortcode for callouts](https://docs.hugoblox.com/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 -{{}} -You found me! -{{}} -``` - -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://docs.hugoblox.com/getting-started/page-builder/#icons) in addition to [emojis](https://docs.hugoblox.com/content/writing-markdown-latex/#emojis). - -Here are some examples using the `icon` shortcode to render icons: - -```markdown -{{}} Terminal -{{}} Python -{{}} 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/news/writing-technical-content/line-chart.json b/content/news/writing-technical-content/line-chart.json deleted file mode 100644 index 4307b4f..0000000 --- a/content/news/writing-technical-content/line-chart.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "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: Scribblrs
Source: Internet Live Stats", - "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/news/writing-technical-content/results.csv b/content/news/writing-technical-content/results.csv deleted file mode 100644 index 0630ed9..0000000 --- a/content/news/writing-technical-content/results.csv +++ /dev/null @@ -1,4 +0,0 @@ -customer_id, score -1,0 -2,0.5 -3,1