Open-source News

OpenMoonRay 1.1 Released For DreamWorks' Open-Source Renderer

Phoronix - Tue, 05/02/2023 - 17:54
Last year DreamWorks announced they would be open-sourcing their award-winning MoonRay renderer. Back in March that dream was realized with OpenMoonRay being published for this renderer that has been used for films like Puss In Boots: The Last Wish, The Bad Guys, How To Train Your Dragon: The Hidden World, and other films. OpenMoonRay 1.1 is now available as the first update to this professional renderer since it was open-sourced last quarter...

Generate web pages from Markdown with Docsify-This

opensource.com - Tue, 05/02/2023 - 15:00
Generate web pages from Markdown with Docsify-This paulhibbitts Tue, 05/02/2023 - 03:00

Are you interested in leveraging Markdown for online content without any website setup or build process? How about seamlessly embedding constraint-free Markdown or HTML into multiple platforms (such as a content management system or learning management system)? The open source project Docsify-This, built with Docsify.js, provides an easy way to publish, share, and reuse Markdown content.

[ Get the Markdown cheat sheet ]

What is Docsify-This?

With Docsify-This, you can instantly turn any publicly available Markdown file into a responsive standalone web page. You can also link multiple Markdown files to create a simple website. Designers can alter the visual appearance of displayed pages with the point-and-click Web Page Builder interface or URL parameters. You can also use a set of provided Markdown CSS classes when creating your own Markdown content. In addition, if you use Codeberg or GitHub to store your Markdown files, an Edit this Page link can be automatically provided for each page to support collaborative authoring.

It's open source, so you can host a Docsify-This instance using your own custom domain without the risk of platform lock-in.

Use the Docsify-This Web Page Builder

To use the Web Page Builder, open a browser and navigate to the Docsify-This website or your local instance. In the Web Page Builder section, enter the URL of a Markdown file in a public repo of Codeberg or GitHub (other Git hosts can also be used via Docsify-This URL parameters but not in the Web Page Builder), and then click the Publish as Standalone Web Page button.

Image by:

(Paul Hibbitts, CC BY-A 4.0)

The Markdown file is rendered as a standalone web page with a URL you can copy and share. Here's an example URL:

https://docsify-this.net/?basePath=https://raw.githubusercontent.com/hibbitts-design/docsify-this-one-page-article/main&homepage=home.md

Docsify-This rendered web pages are perfect for embedding, with the ability to visually style Docsify-This pages to the destination platform.

Image by:

(Paul Hibbitts, CC BY-A 4.0)

Render other files in the same repository

You can render other Markdown files in the same repository by directly editing the Docsify-This URL parameter homepage. For example:

https://docsify-this.net/?basePath=https://raw.githubusercontent.com/hibbitts-design/docsify-this-one-page-article/main&homepage=anotherfile.mdModify the web page's appearance

You can change the appearance of any Markdown file displayed in Docsify-This by using URL parameters. For example, font-family, font-size, link-color, and line-height are all common CSS attributes and are valid parameters for Docsify-This:

https://docsify-this.net/?basePath=https://raw.githubusercontent.com/hibbitts-design/docsify-this-one-page-article/main&homepage=home.md&font-family=Open%20Sans,sans-serif

You can also alter the visual appearance using a set of special Markdown CSS classes. For example, you can add the button class to a link:

[Required Reading Quiz due Jun 4th](https://canvas.sfu.ca/courses/44038/quizzes/166553 ':class=button')

This produces a button image instead of just a text link:

Image by:

(Paul Hibbitts, CC BY-A 4.0)

In addition to the Markdown CSS classes supported by Docsify-This, you can define your own custom classes within your displayed Markdown files. For example:

.markdown-section .mybutton, .markdown-section .mybutton:hover { cursor: pointer; color: #CC0000; height: auto; display: inline-block; border: 2px solid #CC0000; border-radius: 4rem; margin: 2px 0px 2px 0px; padding: 8px 18px 8px 18px; line-height: 1.2rem; background-color: white; font-family: -apple-system, "Segoe UI", "Helvetica Neue", sans-serif; font-weight: bold; text-decoration: none; } [Custom CSS Class Button](# ':class=mybutton')

Produces this:

Image by:

(Paul Hibbitts, CC BY-A 4.0)

Include HTML snippets

As supported by standard Markdown, you can include HTML snippets. This allows you to add layout elements to your HTML render. For example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Embed Docsify-This as an iFrame

You can embed Docsify-This web pages using an iFrame in almost any platform. You can also use URL parameters to ensure your embedded content matches your destination platform:

Image by:

(Paul Hibbitts, CC BY-A 4.0)

Embed Docsify-This with an external URL

In certain learning management systems (LMS), including the open source Moodle and even the proprietary Canvas, you can link external web pages to a course navigation menu and sometimes more. For example, you can use the Redirect Tool in Canvas to display Docsify-This web pages.

url=https://docsify-this.net/?basePath=https://raw.githubusercontent.com/paulhibbitts/cmpt-363-222-pages/main&homepage=resources.md&edit-link=https://github.com/paulhibbitts/cmpt-363-222-pages/blob/main/resources.md&font-family=Lato%20Extended,Lato,Helvetica%20Neue, Helvetica,Arial,sans-serif&font-size=1&hide-credits=true

Our favorite resources about open source Git cheat sheet Advanced Linux commands cheat sheet Open source alternatives Free online course: RHEL technical overview Register for your free Red Hat account Check out more cheat sheets Integrate Docsify-This and Git

To fully leverage the benefits of version control and potentially collaboration using an optional Edit this Page link, store your Docsify-This Markdown pages in a Git repository on either Codeberg or GitHub. Several open source tools provide a graphical interface for Git, including GitHub Desktop (recently released as open source), Git-Cola, and SparkleShare. The text editors VSCode and Pulsar Edit (formerly Atom.io) both feature Git integration, too.

[ Get the Git tips and tricks eBook ]

Markdown publishing made easy

The benefits of Markdown-based publishing are available to everyone, thanks to Docsify. And thanks to Docsify-This, it's easier than ever. Try it out at the Docsify-This website.

This open source tool makes it easier than ever to convert Markdown to web pages.

Web development What to read next 5 best practices for PatternFly, an open source design system How I learned the hard way to keep my website updated This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.
Categories: UR Solutions News

8 Uniq Command Examples [Remove Duplicate Lines in Linux]

Tecmint - Tue, 05/02/2023 - 12:36
The post 8 Uniq Command Examples [Remove Duplicate Lines in Linux] first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

As Linux users, we interact with various types of files on a regular basis. One of the most common file types on any computer

The post 8 Uniq Command Examples [Remove Duplicate Lines in Linux] first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

After A Strange March, Valve's April Numbers Show Steam Linux Numbers Appearing Inline

Phoronix - Tue, 05/02/2023 - 09:42
At the start of April there were the Steam Survey results for March 2023 that showed a 0.54% dip to the marketshare. With that were als some strange shifts in the Windows 10 vs. 11 marketshare as well as a big boost to the Chinese marketshare. The March numbers were not revised but with the start of May comes the April numbers... Showing a boost to Linux and largely recovering from the April anomaly...

ClamAV 1.1 Released For Advancing Open-Source Anti-Virus/Anti-Malware Software

Phoronix - Tue, 05/02/2023 - 06:30
Last November ClamAV 1.0 was released for this anti-virus/anti-malware solution currently developed via Cisco and the open-source community. Following ClamAV 1.0 LTS, today marks the availability of ClamAV 1.1 as the first post-1.0 feature release...

AMD ROCm 5.5 In The Process Of Being Released

Phoronix - Tue, 05/02/2023 - 05:00
AMD has begun publishing ROCm 5.5 source packages for the Radeon Open eCosystem components making up their GPU compute stack that is also being extended to cover Xilinx products and more...

Red Hat's HDR Hackfest Sounds Like It Was A Success

Phoronix - Tue, 05/02/2023 - 02:30
Red Hat organized an HDR hackfest to bring together all the Linux desktop stakeholders around the desktop, display drivers, and related infrastructure for helping to make progress on High Dynamic Range (HDR) display support. The event took place last week at Red Hat's Brno office in the Czech Republic and sounds like it was quite a success...

Linux 6.4 Fixes An Issue Where Intel USB Support Could Be Broken After Resume

Phoronix - Tue, 05/02/2023 - 01:00
Since last November has been a kernel bug report from a Canonical engineer after finding that the Intel Thunderbolt USB controller on various laptops was "dead" after resuming the system. That problem is now resolved with Linux 6.4 and this generic fix may end up helping other hardware as well...

Pages